简体   繁体   English

客户端数据加密/ SQL Server Express LocalDB

[英]Client-side data encryption / SQL Server Express LocalDB

What are the strategies in .NET to secure semi-sensitive client-side data (so that only the application itself can use/see it)? .NET中有什么策略来保护半敏感的客户端数据(以便仅应用程序本身可以使用/查看它)?

Could the information be contained in an accompanying mdf file (used by SQL LocalDB) and still maintain the same level of security? 信息是否可以包含在随附的mdf文件(由SQL LocalDB使用)中,并且仍然保持相同的安全级别? If so, how? 如果是这样,怎么办?

I understand that since we are talking about client-side application there is no absolute way to secure the data. 我了解,由于我们在谈论客户端应用程序,因此没有绝对的方法来保护数据。 I'm mostly looking at ways to make it difficult enough to discourage people attempting it. 我主要是在寻找使人们难以尝试的足够困难的方法。 Ideally the solution would be (mostly) transparent to the application developers. 理想情况下,该解决方案(对大多数应用程序开发人员)是透明的。

Not really. 并不是的。 Your best shot would be putting your code in encrypted stored procedures, but as soon as you hand the MDF file to someone, they can attach it to a SQL Server where they have total admin rights (like their LocalDB instance) and decrypt them trivially . 最好的办法是将代码放入加密的存储过程中,但是一旦将MDF文件交给某人,他们就可以将其附加到SQL Server上,在SQL Server上他们具有完全的管理权限(例如LocalDB实例),并对其进行琐碎的解密

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM