使用 ASP.Net Web 表单时如何使信用卡信息远离我的共享服务器
针对无法负担 PCI 兼容服务器的客户,我打算将信用卡信息限制为通过 SSL 发布到网关的表单条目。我不在我的客户端共享服务器上存储 CC 信息。我的问题是关于使用服务器控件的 ASP.NET Web 表单,以及表单信息是否以任何方式通过我的客户端共享且可能不安全的服务器运行,只需使用带有 runat=server 的表单元素。在此表单中,我使用纯 html 输入元素来收集 CC#、CVV# 和到期日期,但提交元素使用 runat=server,因为我在后面的代码中有逻辑,如果不满足条件,则会限制按钮的可见性。
Focusing on clients who can not afford PCI compliant servers I intend to limit credit card information to a form entry that posts to the gateway via SSL. I do not store CC info on my clients shared server. My question is about the ASP.NET web form that uses server controls and if form information is in any way run through my clients shared and potentially unsecure server just by using form elements with runat=server. In this form I am using plain html input elements to collect the CC#, CVV# and expiration date but the submit element uses runat=server as I have logic in the code behind that limits the visibility of the button if a condition is not met.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果共享服务器上的表单接受卡详细信息,则该服务器和网络必须符合 PCI 标准,不存储详细信息这一事实并不重要。鉴于其共享服务器实现合规性几乎是不可能的。
使卡片数据远离共享服务器的最佳方法是让其页面为托管在专用的合规服务器上的页面托管 IFrame。
If the form on the shared server accepts card details then that server & network must be PCI compliant, the fact that the details are not stored doesn't matter. Given that its a shared server achieving compliance will be virtually impossible.
The best way to keep card data away from the shared server is to have its page host an IFrame for a page thats hosted on a dedicated, compliant server.
如果您从来没有任何应该起作用的回发,但如果您确实有任何支持回发的控件,则可能会包含抄送信息(取决于视图状态)。
听起来您将有权访问抄送信息,否则使按钮可见或不可见就没有意义......
If you never have any postbacks that should work, but if you do have any controls that support postbacks, the cc info will possibly be included (depends upon viewstate).
It sounds like you're going to have access to the cc info, as otherwise it doesn't make sense to make the button visible or not...