Imar or anyone else. The password in the web.config is plain text. I have endeavored to encrypt it. If others want to try, go here as a starting point:
http://www.asp.net/data-access/tutor...information-cs
*****
GOAL: encrypt the <system.net> section in the web.config file
WHAT I DID: I used the code from above link to encrypt. I can encrypt web.config VWD and it works fine. But ...
Q1: are encryptions machine specific? meaning that I cannot encrypt web.config via VWD, then deploy it to the godaddy web server and expect it to decrypt, correct? because the web server uses a different key, correct?
WHAT I DID: So I set my code in Application_Start in Global.asax.cs to encrypt it during runtime. Because, once it's encryted on the web server, the web server can decrypt as needed since it has the proper key, correct? But I get error messages when I run it on the web server
Q2: the godaddy rep stated that I am not allowed to change files in my root directory (
www.mysite.com) which is where my web.config file is located. He stated that this is a Windows issue, but it would work fine if I had my site on the Linux server. Is this correct?
I'm sure that others have successfully done this, since no one wants to leave the password in open view in web.config. Can someone clarify the accuracy of my assumptions above and point me in the correct "architecture" to resolve my encryption endeavor?
THANK YOU.