Store Connection Strings

  • Thread starter Thread starter John Wright
  • Start date Start date
J

John Wright

I need a good way to securely store my connection strings for my database.
Right now I have them in the program resources, but this could be reflected
out correct? In VB 6 I used a INI file that stored the values in an
encrypted format. So, what is the best way to do this in .NET?

John
 
I need a good way to securely store my connection strings for my database.
Right now I have them in the program resources, but this could be reflected
out correct? In VB 6 I used a INI file that stored the values in an
encrypted format. So, what is the best way to do this in .NET?

I would store them in a XML file, encrypted. At least the password
encrypted.
 
I need a good way to securely store my connection strings for my database.
Right now I have them in the program resources, but this could be reflected
out correct? In VB 6 I used a INI file that stored the values in an
encrypted format. So, what is the best way to do this in .NET?

John

Use the built in facility for encrypting the Connection Strings in the
app.config file:

http://www.developer.com/net/vb/article.php/3500906

Chris
 
Back
Top