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
RAKsmart商家一直以来在独立服务器、站群服务器和G口和10G口大端口流量服务器上下功夫比较大,但是在VPS主机业务上仅仅是顺带,尤其是我们看到大部分主流商家都做云服务器,而RAKsmart商家终于开始做云服务器,这次试探性的新增美国硅谷机房一个方案。月付7.59美元起,支持自定义配置,KVM虚拟化,美国硅谷机房,VPC网络/经典网络,大陆优化/精品网线路,支持Linux或者Windows操作...
关于半月湾HMBCloud商家之前也有几篇那文章介绍过这个商家的产品,对于他们家的其他产品我都没有多加留意,而是对他们家的DC5机房很多人还是比较喜欢的,这个比我们有些比较熟悉的某商家DC6 DC9机房限时,而且半月湾HMBCloud商家是相对便宜的。关于半月湾DC5机房的方案选择和介绍:1、半月湾三网洛杉矶DC5 CN2 GIA同款DC6 DC9 1G内存 1TB流量 月$4.992、亲测选择半...
LightNode官网LightNode是一家位于香港的VPS服务商.提供基于KVM虚拟化技术的VPS.在提供全球常见节点的同时,还具备东南亚地区、中国香港等边缘节点.满足开发者建站,游戏应用,外贸电商等应用场景的需求。为用户带来高性能服务器以及优质的服务的同时还提供丰厚的促销活动,新用户注册最高送$20。注册用户带新客即可得10%返佣。商家支持PayPal,支付宝等支付方式。官网:https:/...
rewritecond为你推荐
空间主机那个网站的空间主机比较好网络服务器租用租网络服务器在哪些平台比较合适?中文域名注册查询中文域名注册怎么查询域名注册查询如何知道域名注册信息?域名服务商如何更换域名服务商空间域名服务器和空间域名什么意思php虚拟空间虚拟空间怎么修改php.ini配置美国网站空间我想买个国外的网站空间,那家好,懂的用过的来说说网站空间申请企业网站空间申请有哪些流程啊。、、。虚拟主机是什么什么是虚拟主机
美国虚拟空间 北京租服务器 万网免费域名 sharktech flashfxp怎么用 simcentric 美国翻墙 国外idc 私服服务器 鲨鱼机 kddi 宕机监控 mobaxterm 193邮箱 炎黄盛世 jsp空间 me空间社区 qq云端 美国免费空间 鲁诺 更多