问题描述
我有一个用C#.NET开发的桌面应用程序,带有加密的数据库.加密密码硬编码在应用程序代码中.
如何隐藏此密码,因为可以通过以下方式访问代码.net反汇编程序?
也许对代码进行混淆处理可能是一个解决方案,但是我如何使用混淆后的代码为应用程序创建安装程序,因为每次重新构建安装程序时,都会创建一个全新的.exe,并且永远不会对代码进行混淆处理. /p>
我希望有人知道如何解决这个问题.
我的建议是不这样做,原因如下: SCADA
I have a desktop application developed in C#.NET, with an encrypted database.The encryption password is hard coded in the application code.
How can I hide this password, since the code can be accessed througha .net disassembler?
Maybe obfuscate the code could be a solution, but how do I create a setup for the application with the obfuscated code, because every time I rebuild the setup, a brand new .exe is created and the code is never obfuscated.
I hope someone knows how to get around this.
My suggestion is to not do this and here's why: SCADA
这篇关于在桌面应用程序代码上隐藏密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!