Microsoft makes available for download a free tool that will encrypt a
connection string, or user credentials, and store it in the registry for use
by the application. Very helpful, especially if you are using windows auth
for sql connections. google 'aspnet_setreg'
--- Nick
"Chris Ballard" <Ch**********@discussions.microsoft.com> wrote in message
news:38**********************************@microsof t.com...
And if you are particularly worried about security, take a look at the
functionality of dpapi which can store encrypted data based on the
credentials of the logged on user.
Chris.
"Rakesh Rajan" wrote:
Hi Alberto,
Adding on to Shiva, if your connection string contains passwords,
consider ecrypting it and then storing.
HTH,
Rakesh Rajan
"Alberto" wrote:
I have to store a connection string to a data base but I don't know
where. Where do you prefer store it, in a text file or in a xml file?
Thank you.