对不起,如果这看起来像一个愚蠢的问题。如何防止阅读app.config?
我的应用程序使用连接字符串连接到SQL Server 2008数据库并使用Crystal Report,我的服务器使用混合身份验证模式。
问题是:app.config
文件显示连接字符串(用户名&密码),我不想让任何人看到!
Data Source=.\SQLEXPRESS;Initial Catalog=ComplainsDb;Persist Security Info=false; User ID=abcde ;Password=MyPassword
感谢您的任何帮助。
加密在app.config。谷歌它,你会发现很多关于它.. –
相关[问题](http://stackoverflow.com/questions/11637348/encrypt-connection-string-in-app-config) –