Re: Where to store the DB password in a asp.net app?
From: Ken Cox [Microsoft MVP] (BANSPAMken_cox_at_sympatico.ca)
Date: 05/04/04
- Next message: Kelmen Wong: "Save download stuff screw up client-script in frame"
- Previous message: ppatel: "shipping and handling calculations ?"
- In reply to: Darren Clark: "Where to store the DB password in a asp.net app?"
- Next in thread: Rick Strahl [MVP]: "Re: Where to store the DB password in a asp.net app?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 3 May 2004 23:04:38 -0400
Hi Darren,
If you use Integrated authentication, you'd be fairly safe in the
web.config.
Otherwise, people use the methods you outlined. This article shows some
ideas:
HOW TO: Use the ASP.NET Utility to Encrypt Credentials and Session State
Connection Strings
http://support.microsoft.com/default.aspx?scid=kb;en-us;329290
"Darren Clark" <dclark88@hotmail.com> wrote in message
news:GiAlc.10174$TT.5288@news-server.bigpond.net.au...
Basically i am curious as to where everyone stores there database details
for ASP.NET apps?
When developing controls i usually stored it in the web.config file.
Then i move it to a internal private property that is only acessable from my
DB classes.
What other methods do people use?
Encryption and then store in the webconfig? or registry? or encrypt then
registry?
- Next message: Kelmen Wong: "Save download stuff screw up client-script in frame"
- Previous message: ppatel: "shipping and handling calculations ?"
- In reply to: Darren Clark: "Where to store the DB password in a asp.net app?"
- Next in thread: Rick Strahl [MVP]: "Re: Where to store the DB password in a asp.net app?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|