Groups | Blog | Home
all groups > vb.net > december 2007 >

vb.net : Store Connection Strings


zacks@construction-imaging.com
12/14/2007 8:43:48 AM
[quoted text, click to view]

I would store them in a XML file, encrypted. At least the password
John Wright
12/14/2007 9:38:00 AM
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

Chris Dunaway
12/17/2007 11:05:24 AM
[quoted text, click to view]

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

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

AddThis Social Bookmark Button