Where is the best place to put id and passwords?
Posted on 2015-01-12
Hi, I'm using VS2010.
I created a web application and I am wondering where is the best place to store the userid and password. Currently I have it in Web.config in the App setting section. Well, should I just put it in my C# code? I mean when I deploy to web server then it's in dll form? Shouldn't that be better than web.config? If that server is hacked then they might get to the web.config and read the password. Thank you for your input.