如何管理企业软件密钥容器内的非对称密钥?
你好 我有一个教育软件,应该安装在整个企业的不同电脑上。 我的程序使用 5000 个文本、xml、html 文件作为其内容源。我不希望我的来源被篡改、复制或非法使用。我打算做的是单独加密我的源代码,然后将加密的文件放入我的应用程序内的文件夹中,以便稍后我的应用程序可以读取和解密用户请求的每个文件。该应用程序将在任何地方安装和使用。 但问题是,为了保护和存储我的应用程序中的加密密钥,我必须使用密钥容器,而据我所知(如果我错了,请纠正我)它们是基于机器的,不能在不同的应用程序上使用机,而我需要修复任何 PC 上所有已安装副本的密钥。我知道很多软件都使用这种架构,但我不知道它们是如何做到的。
有什么想法吗?
hello
i have an educational software that should be installed on different PCs across the enterprise.
my program is using a 5000 text, xml, html files as source of it's content. i don't want my source to be tampered with, copied or used illegally. what i intend to do is to encrypt my source seperately and then put the encrypted files in a folder inside of my app so later my app can read and decrypt each file that is requested by user. the app will be installed and used anywhere.
but the problem is that to secure and store the encryption key inside my application i have to use a key container while as far as i remember(correct me if i'm wrong) they're machine based and can't be used on different machines while i need my key to be fixed for all the installed copies on any PC. i know a lot of softwares using such a architecture but i don't know how do they do that.
any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您将密钥放在每台 PC 上(如果您希望它们能够运行您的软件,则必须这样做),那么每个人都将拥有它,并且加密毫无意义。
但问题是要在我的应用程序中保护和存储加密密钥
是的,您可以使用另一个密钥加密该密钥,然后一路乌龟......您想要做的事情是不可能的。不要浪费你的时间。您将不会获得任何安全性,您唯一要做的就是浪费周期并惹恼用户,使他们的计算机变慢。
If you put the key on every PC (and you have to if you want them to be able to run your software) then everyone will have it and the encryption is pointless.
but the problem is that to secure and store the encryption key inside my application
Yeah, you can encrypt that key with another key and then turtles all the way down... What you are trying to do is impossible. Don't waste your time. You will gain no security whatsoever and the only thing you will do is waste cycles and annoy users making their computers slower.