我知道这是一个愚蠢的问题,但是,
我的客户要求对其支付系统中的一些信息进行加密,以防止用户窃取个人信息。
该系统是基于 Web 的,由 ASP.NET 编写。
我们尝试了一些烦人的解决方案,例如 JavaScript 禁止右键单击或 css-no-print
但显然我的客户不喜欢它。
那么有没有商业解决方案来加密 aspx 生成的 html 页面中的信息?
或者有人可以告诉我如何让我的客户在基于网络的系统中阻止这些“防止盗窃”的想法?
I know it's a silly question but ,
My client asked for encrypting some information form their payment system to prevent user stealing personal information.
The system is web-base and written by ASP.NET
We have tried some annoying solution such as JavaScript no right-click or css-no-print
but apparently my client didn't like it.
so are there any commercial solution to encrypt information in aspx produced html pages?
or someone can tell me how to pursuit my client to stop these "prevent stealing" idea in a web-base system?
发布评论
评论(3)
如果您的客户担心数据被“通过网络”窃取,请执行 Jaxidian 提到的内容以及使用 SSL。
如果您的客户担心用户从他们查看的页面窃取数据,请告诉他们在网络应用程序中无法阻止这种情况。用户需要下载页面才能在计算机上查看,因此无论您做什么,HTML 网页始终可以让用户下载其内容,即使您添加了一些限制以使其变得更加困难。
阻止用户从他们查看的页面窃取数据的唯一方法是不要使您的应用程序基于网络。您必须编写一个本机应用程序,该应用程序安装在具有严格 DRM 的用户计算机上,以阻止他们复制内容。即使这样,DRM 也可以被破解。只要看看索尼。
如果您的客户指的是对数据库中的数据进行加密,那么您应该研究 .NET 中的 AES 加密。
If your client is worried about data being stolen "over-the-wire", do what Jaxidian mentioned and using SSL.
If your client is worried about users stealing data from pages they view, then tell them there's nothing they can do in a web app to stop that. Users need to download a page to view on their computers so no matter what you do, HTML web pages can always have their content downloaded by a user, even if you add some hoops to make it more difficult.
The only way to stop a user from stealing data from pages they view is to not make your app web-based. You'll have to write a native app that gets installed on users' machines with strict DRM in order to stop them from copying content. And even then, DRM can be cracked. Just look at Sony.
If your client was referring to encrypting data within your database, then you should look into AES Encryption in .NET.
SSL 证书
<编辑>这是非常详尽的分步教程,解释了如何使用IIS 中的 SSL 证书。
SSL Certificates
<Edit> Here is a very thorough step-by-step tutorial explaining how you would go about using an SSL Cert in IIS.</Edit>
我为我的客户提供了一些非常愚蠢的答案,
我尝试使用 Base64 对 aspx 中的信息进行编码,
并使用 JQuery .Base 64插件,
aspx就像:
使用JQuery脚本对所有.decoding元素进行解码,
这样源数据看起来像一些无意义的字符串,这是我的客户端想。
并使用一些邪恶的 JavaScript 来阻止打印和清理用户的剪贴板。
我已经完成了一个可用性为零的网站
却依然无法阻止什么!干得好:)
I come with some really silly answer for my client
I tried to encoding the information in aspx with Base64 like
and decode the data with JQuery .Base 64 plugin ,
the aspx is like:
with JQuery script to take all .decoding element to be decoded
so the source data will look like some meaningless string , which is my client want.
and with some evil JavaScript to prevent printing and cleaning user's clipboard.
I have completed a web-site with zero usability
and still can't prevent anything! Well done :)