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

GigsGigsCloud:$16/月KVM-1GB/30GB/1TB/1.6T高防/洛杉矶CN2 GIA+AS9929

GigsGigsCloud是一家成立于2015年老牌国外主机商,提供VPS主机和独立服务器租用,数据中心包括美国洛杉矶、中国香港、新加坡、马来西亚和日本等。商家VPS主机基于KVM架构,绝大部分系列产品中国访问速度不错,比如洛杉矶机房有CN2 GIA、AS9929及高防线路等。目前Los Angeles - SimpleCloud with Premium China DDOS Protectio...

DediPath($1.40),OpenVZ架构 1GB内存

DediPath 商家成立时间也不过三五年,商家提供的云服务器产品有包括KVM和OPENVZ架构的VPS主机。翻看前面的文章有几次提到这个商家其中机房还是比较多的。其实对于OPENVZ架构的VPS主机以前我们是遇到比较多,只不过这几年很多商家都陆续的全部用KVM和XEN架构替代。这次DediPath商家有基于OPENVZ架构提供低价的VPS主机。这次四折的促销活动不包括512MB内存方案。第一、D...

易探云香港vps主机价格多少钱?香港云服务器主机租用价格

易探云香港vps主机价格多少钱?香港vps主机租用费用大体上是由配置决定的,我们选择香港vps主机租用最大的优势是免备案vps。但是,每家服务商的机房、配置、定价也不同。我们以最基础配置为标准,综合比对各大香港vps主机供应商的价格,即可选到高性能、价格适中的香港vps主机。通常1核CPU、1G内存、2Mbps独享带宽,价格在30元-120元/月。不过,易探云香港vps主机推出四个机房的优惠活动,...

rewritecond为你推荐
海外主机美国主机与国内主机有哪些区别代理主机主机做成代理服务器,其他局域网内的电脑必须通过我的这个网络出去免费vps服务器请推荐一个免费的云服务器?个人虚拟主机个人网站该购买什么类型虚拟主机?美国服务器托管美国服务器租用有那些机房,他们的优缺点是什么?虚拟主机评测网求推荐一些适合个人博客网站的虚拟主机的服务商虚拟主机系统虚拟主机怎么安装操作系统虚拟主机mysql如何连接虚拟主机中的MYSQLwindows虚拟主机windows10用什么虚拟机深圳虚拟主机深圳鼎峰网络科技 虚拟主机空间怎么样
国外vps 美国加州vps 过期已备案域名 骨干网 ix主机 密码泄露 回程路由 三拼域名 国外免费全能空间 双11秒杀 百度云1t 免费cdn 阿里云官方网站 免费asp空间 wordpress中文主题 浙江服务器 学生服务器 徐州电信 广州服务器托管 hdsky 更多