connection string

C

Cor Ligthert

Hi Selen,

In my opinion the best way that fits you the best and which not does show it
outside your environment.

Cor
 
J

John Timney \(Microsoft MVP\)

In the web.config file for the application.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 
R

Rick Spiewak

But consider using DPAPI to encrypt the string if you're including id's and
passwords in it. Also, be sure to write a custom error page so that
configuration exceptions don't reveal contents from your web.config file.
 
J

John Timney \(Microsoft MVP\)

Indeed securing your actual connection strings as Rick suggests is also
something you might want to consider.....

If the servers yours, then you can use the utilities that come with asp.net
to provide password encryption.
http://support.microsoft.com/default.aspx?scid=kb;en-us;329290

If its not, then you will need to think about a custom encryption approach
that works for your setup.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top