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
inlicloud怎么样?inlicloud(引力主机)主要产品为国内NAT系列VPS,目前主要有:上海联通NAT(200Mbps带宽)、宿州联通NAT(200Mbps带宽)、广州移动NAT(200Mbps带宽)。根据官方的说法国内的NAT系列VPS不要求备案、不要求实名、对中转要求也不严格,但是,禁止任何形式的回国!安徽nat/上海联通/广州移动/江门移动nat云主机,2核1G/200Mbps仅...
georgedatacenter怎么样?georgedatacenter这次其实是两个促销,一是促销一款特价洛杉矶E3-1220 V5独服,性价比其实最高;另外还促销三款特价vps,大家可以根据自己的需要入手。georgedatacenter是一家成立于2019年的美国vps商家,主营美国洛杉矶、芝加哥、达拉斯、新泽西、西雅图机房的VPS、邮件服务器和托管独立服务器业务。georgedatacen...
ProfitServer怎么样?ProfitServer好不好。ProfitServer是一家成立于2003的主机商家,是ITC控股的一个部门,主要经营的产品域名、SSL证书、虚拟主机、VPS和独立服务器,机房有俄罗斯、新加坡、荷兰、美国、保加利亚,VPS采用的是KVM虚拟架构,硬盘采用纯SSD,而且最大的优势是不限制流量,大公司运营,机器比较稳定,数据中心众多。此次ProfitServer正在对...
rewritecond为你推荐
虚拟主机价格虚拟主机及域名价格?域名空间代理现在代理域名空间赚钱吗域名注册网注册域名上哪个网站最好租服务器租个服务器?哪里租?vps汽车的VPS是什么,和GPS有什么区别英文域名求好听的个性英语域名?asp主机空间Asp空间是什么空间啊?跟有的网站提供的免费空间有什么区别吗?asp主机空间asp空间是什么100m虚拟主机100M的虚拟主机都能做些什么apache虚拟主机linux操作系统Apache配置虚拟主机
免费国际域名 免费试用vps linuxapache虚拟主机 搜狗12306抢票助手 创梦 电子邮件服务器 gspeed cn3 傲盾官网 中国网通测速 中国电信测速器 iki 可外链的相册 ipower 卡巴斯基免费下载 免费服务器 饭桶 stealthy 天鹰抗ddos防火墙 监控主机 更多