问题描述
在我的国家,在线支付并不是一件古老的事情,去年我第一次看到一个网络应用程序直接向当地银行账户付款.
In my country the online payments are not an old thing, the first time i saw a web application taking payments directly to a local bank account was last year.
所以,我是一个新手编码网络支付系统.
So, Im a newbie coding web payment system.
我的问题是,将信用卡信息存储到数据库中的最佳做法是什么...
My question is, what are the best practices to store creditcard information into the database...
我有很多想法:信用卡加密、数据库安全限制等
I have many ideas: encrypting the creditcard, database security restriction, etc.
你做了什么?
推荐答案
不要这样做
所涉及的风险实在是太大了,您通常需要接受外部审计,以确保您遵守所有相关的当地法律和安全惯例.
There is simply far too much risk involved, and you will typically need to be externally audited to ensure that you're complying with all the relevant local laws and security practises.
有许多第三方公司为您做这件事,他们已经竭尽全力确保他们的系统安全、遵守当地法律等等.我过去在美国使用的一个例子是 authorize.net.一些银行也有系统,您可以连接到这些系统来存储信用卡数据和处理付款.
There are many third-party companies that do it for you that have already gone through all trouble of making sure their system is secure, that they comply with local laws and so on. An example in the US that I have used in the past is authorize.net. Some banks also have systems that you can hook into to store credit card data and process payments.
我意识到您所在的国家/地区的法律可能没有美国那么严格,但在我看来,这不是您自己动手的借口.当你处理别人的钱时,风险太大了.
I realise the country you're in may not have as strict laws as the U.S., but in my opinion that's no excuse for rolling your own. When you're dealing with other people's money, the risk is just too much to warrant.
这篇关于将信用卡信息存储到数据库中的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)