registerrewritecond

rewritecond  时间:2021-01-11  阅读:()
CyberSourceExtensionforMagentoInstallationGuide,Version3.
0.
0July,2018ExtractThisdocumentprovidesinstallationdetailsofCyberSourceMagentoExtension2ContentsInstallation3InstallationFrequentlyAskedQuestions4AppendixA–SecurityBestPractices6SecuringFiles6PasswordPolicy6SSL/TLSEncryption6SoftwareVersions7RemovingDefaultWebServers7SecuringWebServers7PasswordEmails8SecureAuthenticationCredentials9SecurityGoodPractice103Installation1.
PlaceanorderonMagentoMarketplacewithCyberSourcemodulehttps://marketplace.
magento.
com/cybersource-global-payment-management.
html2.
GotoMyProfile->MyProducts->AccessKeysandcopykeys2.
Createauth.
jsonfileinmagentorootdiretoryonyourserver{"http-basic":{"repo.
magento.
com":{"username":"Your_Public_Key","password":"Your_Private_key"}}}3.
Addasectiontoyourcomposer.
jsonorextendexisting"repositories":{"0":{"type":"composer","url":"https://repo.
magento.
com/"}},44.
Runcommandsinyourmagentorootdirectorycomposerrequirecybersource/global-payment-managementphpbin/magentomodule:enableCyberSource_AccountUpdaterCyberSource_AddressCyberSource_ApplePayCyberSource_AtpCyberSource_BankTransferCyberSource_CoreCyberSource_ECheckCyberSource_KlarnaFinancialCyberSource_PayPalCyberSource_SecureAcceptanceCyberSource_TaxCyberSource_VisaCheckoutphpbin/magentosetup:upgradephpbin/magentosetup:di:compilephpbin/magentosetup:static-content:deploySeeofficialMagento2extensionsinstallationguide:https://devdocs.
magento.
com/guides/v2.
2/comp-mgr/install-extensions.
htmlInstallationFrequentlyAskedQuestionsQuestion:Afterrunningcomposerupdateorcomposerrequirecybersource/global-payment-managementcommandthefollowingerrormessageisdisplayed:Therequestedpackagecybersource/global-payment-managementcouldnotbefoundinanyversion,theremaybeatypointhepackagename.
Answer:Thiserroroccursifyou:usewrongkeysdon'thavehttps://repo.
magento.
com/composerrepositoryspecifiedinyourcomposer.
jsonInordertoobtainproperkeysyouhaveto:1.
PurchasetheextensionfromMagentomarketplaceVisitCyberSourcePaymentextensionpageinMagentoMarketplacehttps://marketplace.
magento.
com/cybersource-global-payment-management.
html5ClickAddtoCartbutton.
GotoCheckoutfromtheCartpage.
LoginorregisterFinishcheckoutprocess2.
Aftercheckoutgotoyourprofile:GotoMyPurchasesandensureyouseeCyberSourceGlobalPaymentManagementmodulethere.
Gobacktoprofile->AccessKeysCreateoruseexistingpairofkeys,makesurethey'reenabled3.
Onceyougetthekeys,justfollowthesteps:Rename/movethefile~/.
composer/auth.
jsonRuncomposerrequirecybersource/global-payment-managementWhencomposerasksforusername/passwordenterthePublicKeyasusernameandPrivateKeyaspassword6AppendixA–SecurityBestPracticesSecuringFilesMakesureyourinstallationfilesareonlyaccessiblelocallybyproperlysettinguppermissionsand.
htaccessfile.
Setupfilepermissionsonthebasisof'needtoknow'and'leastprivilege'andensurethatallfilesthatgovernaccesstopartsoftheapplicationaresecured.
Ensurefilesarenotaccessibleoverthewebinterface.
Formoreinformationpleasereferto:https://blog.
nexcess.
net/2010/12/06/securing-magento-file-directory-permissions/PasswordPolicyEnforcestrongpasswordrequirementstoensuretheapplicationisprotectedfromabruteforceattack.
Formoreinformationpleasereferto:NISTDigitalIdentityGuidelines:https://pages.
nist.
gov/800-63-3/SSL/TLSEncryptionEnsureonlythelatestTLSstandardisenabledonanyconnections.
ExplicitlydisableanyTLSversionsthatarenotcurrent(attimeofwriting,onlyTLS1.
2isnotdeprecated).
EnsurethatCiphersuitesthathavebeendeprecatedaredisabled.
Formoreinformationpleasereferto:OpenSSLCipherSuiteNames:https://www.
openssl.
org/docs/manmaster/man1/ciphers.
html-CIPHER-SUITE-NAMESApacheHTTPSCipherSuiteRestriction:http://httpd.
apache.
org/docs/current/ssl/ssl_howto.
html7SoftwareVersionsEnsureallsoftwareversionsareontheverylatestversion.
ExamplesarePHP,JavaandtheMagentosoftwareitself.
Versionsthatarebranchedshouldhavethelatestpatchesfromthatbranchinstalled.
Formoreinformationpleasereferto:Magento:https://magento.
com/security/patchesPHP:http://php.
net/downloads.
phpApacheSecurityVulnerabilities:http://httpd.
apache.
org/security_report.
htmlRemovingDefaultWebServersSoftwarepackagessuchasApacheinstalldefaultwebpagesand/orwebserverinstances.
Ifthewebserverinstanceisnotrequired,itisbestpracticetodisabletheservice.
Iftheserviceisneeded,removedefaultpagesanddefaultinstalldirectories(/docs,/examples,etc.
).
Formoreinformationpleasereferto:GoogleHackingMini-Guide:http://www.
informit.
com/articles/article.
aspp=170880&seqNum=2&rl=1SecurityFocus-SecuringApache:Step-by-Step:http://www.
securityfocus.
com/infocus/1786SecuringWebServersThefollowingstepscanbetakentoreduceand/oreliminatetheriskofinformationdisclosureasaresultofusinghostnamesinURLs:UselocaldomainnamesratherthanIPaddresses.
Removereferencestobackendsystemnames,IP'sandports.
Donotdisclosesystemand/orprogramuserID'stoapplicationusers.
Maintainallerrorcodesanddebuginformationinnon-useraccessibleerrorlogs.
8Formoreinformationpleasereferto:OWASP-SecuritybyDesignPrinciples:https://www.
owasp.
org/index.
php/Security_by_Design_PrinciplesThefollowingstepscanbetakentosecureinsecurecommandsonApache:UsetheApachemodrewritemoduletodenyHTTPrequestsortopermitonlythemethodsneededtomeetsiterequirementsandpolicy.
ProhibitedHTTPmethodscanbedisabledwiththefollowingmod_rewritesyntax.
RewriteEngineOnRewriteCond%{REQUEST_METHOD}^TRACE|TRACK|PUT|DELETE|HEAD|OPTIONS|CONNECTRewriteRule.
*-[F]Alternatively,notethatApacheversions1.
3.
34,2.
0.
55,and2.
2supportdisablingtheTRACEmethodnativelyviatheTraceEnabledirective.
Formoreinformationpleasereferto:TestingforHTTPMethods:https://www.
owasp.
org/index.
php/Test_HTTP_Methods_(OTG-CONFIG-006)ApacheHTTPServermod_rewrite:http://httpd.
apache.
org/docs/mod/mod_rewrite.
htmlPasswordEmailsMagentoemailsthepasswordtousersinplaintextasstandard.
Thisisnotgoodsecuritypracticeandcanleadtoinformationdisclosureattacksviasocialengineeringorothermeans(copying).
Inordertoprotectyourcustomersfromthis,itisrecommendedtoremoveplaintextpasswordssentviaemail.
Thestepstopreventthisareasbelow:InMagento,dothefollowing:1.
Fromadmin,gotoMarketing/EmailTemplates2.
ClickAddNewTemplateorangebutton93.
InLoaddefaulttemplate,selectNewAccounttemplateandloadit4.
Afterloadtemplate,inTemplateContent,findalineshowplaintextpasswordandremoveit5.
ClickSaveTemplate.
Formoreinformationpleasereferto:NISTDigitalIdentityGuidelinesSP800-63-3:https://pages.
nist.
gov/800-63-3/SecureAuthenticationCredentialsAuthenticationCredentialsmustbestoredinasecuremanner,accordingtoindustrygoodpractice.
SecuringauthenticationcredentialsshouldbeviamethodssuchasstrongEncryption,usingindustrystandardencryptionmethodologies.
Formoreinformationpleasereferto:NationalInstituteofStandardsandTechnology:https://pages.
nist.
gov/800-63-3/10SecurityGoodPracticeAnyimplementationoftheMagentosoftwarepackageshouldbeundertakenwithcare.
Duediligenceshouldbeperformedwhenlookingatconfigurationsettingsandindustrygoodpracticeguidelinesshouldbefollowedatalltimes.
CyberSecurityattacksandsubsequentbreechescanbebranddamagingandputcustomer'spersonaldataatrisk.
Formoreguidelinesongeneralsecuritygoodpractice,pleaseseethefollowingexternalsources:NationalInstituteofStandardsandTechnology:https://www.
nist.
gov/PCIDSS:https://www.
pcisecuritystandards.
org/pci_security/CenterforInternetSecurity:https://www.
cisecurity.
org/MagentoSecurityBestPractices:https://magento.
com/security/best-practicesOWASP:https://www.
owasp.
org/index.
php/Main_PageSANSInstitute:https://www.
sans.
org/InternationalOrganizationforStandardization(ISO)–ISO27001and27002andanyotherapplicablestandards:https://www.
iso.
org/standards.
html

打开海外主机域名商出现"Attention Required"原因和解决

最近发现一个比较怪异的事情,在访问和登录大部分国外主机商和域名商的时候都需要二次验证。常见的就是需要我们勾选判断是不是真人。以及比如在刚才要访问Namecheap检查前几天送给网友域名的账户域名是否转出的,再次登录网站的时候又需要人机验证。这里有看到"Attention Required"的提示。我们只能手工选择按钮,然后根据验证码进行选择合适的标记。这次我要选择的是船的标识,每次需要选择三个,一...

[6.18]IMIDC:香港/台湾服务器月付30美元起,日本/俄罗斯服务器月付49美元起

IMIDC发布了6.18大促销活动,针对香港、台湾、日本和莫斯科独立服务器提供特别优惠价格最低月付30美元起。IMIDC名为彩虹数据(Rainbow Cloud),是一家香港本土运营商,全线产品自营,自有IP网络资源等,提供的产品包括VPS主机、独立服务器、站群独立服务器等,数据中心区域包括香港、日本、台湾、美国和南非等地机房,CN2网络直连到中国大陆。香港服务器   $39/...

buyvm迈阿密机房VPS国内首发测评,高性能平台:AMD Ryzen 9 3900x+DDR4+NVMe+1Gbps带宽不限流量

buyvm的第四个数据中心上线了,位于美国东南沿海的迈阿密市。迈阿密的VPS依旧和buyvm其他机房的一样,KVM虚拟,Ryzen 9 3900x、DDR4、NVMe、1Gbps带宽、不限流量。目前还没有看见buyvm上架迈阿密的block storage,估计不久也会有的。 官方网站:https://my.frantech.ca/cart.php?gid=48 加密货币、信用卡、PayPal、...

rewritecond为你推荐
域名注册com如何注册.com.cn域名企业虚拟主机一般的企业应该用什么样的虚拟主机?vps主机什么是vps主机虚拟空间哪个好哪个网络服务商的虚拟空间服务比较好呢?免费网站空间有没有免费的网站空间推荐美国网站空间论坛选择空间可以选美国网站空间吗?北京网站空间一个小型企业网站空间和网站域名一年需要多少钱?合肥虚拟主机哪里的虚拟主机空间实惠?深圳虚拟主机深圳市虚拟主机深圳双线虚拟主机深圳主机合租深圳合租主机空推荐有哪?域名网站哪里可以给你免费的域名做个网站
香港vps 免费域名申请 注册cn域名 新世界机房 Vultr 分销主机 韩国空间 parseerror xen 全能主机 华为4核 anylink 100m空间 免费活动 美国网站服务器 raid10 永久免费空间 免费蓝钻 攻击服务器 免费主页空间 更多