I am storing database passwords in app.config as plain text. I am also publishing the application.
How safe is that password stored in app.config? Can I use a disassembler and find it?
|
|
No, you cannot find the password with a disassembler. But you can read it plain as day if someone compromises your web server. At the very least, check these links: http://www.4guysfromrolla.com/articles/021506-1.aspx http://www.aspnettutorials.com/tutorials/advanced/encrypt-conn-str-asp4-cs.aspx http://www.beansoftware.com/ASP.NET-Tutorials/Encrypting-Connection-String.aspx Better yet, do not use SQL Server Security and instead use Integrated Security and only allow the account your web app (pool) runs under to access the DB. |
|||||||||||||||
|