Welcome to L-Space Design Forums Sign in | Join | Faq

ASP.NET

Started by gatewaytl at 10-17-2008 3:47. Topic has 1 replies.

   

Print Search
Sort Posts:    
   10-17-2008, 3:47
gatewaytl is not online. Last active: 10/18/2008 1:46:10 AM gatewaytl

Top 25 Posts
Joined on 10-17-2008
Posts 1
How to handle encryption decription of connection string ?

Hi Friends,

I have created two functions that encrypt and decrypt the connection string in web.config. But whenever I want to use connection string. I have to always decrypt web.config and then again encrypt it back. Does there any other way which i can use.

I'm using section.SectionInformation.ProtectSection(" <encryption configuration provider> ") and section.SectionInformation.UnprotectSection()


.Net Development | Offshore Software Development
   Report 
   10-23-2008, 16:12
admin is not online. Last active: 1/13/2011 6:56:05 PM admin

Top 10 Posts
Joined on 06-16-2005
Auckland, New Zealand
Posts 63
Re: How to handle encryption decription of connection string ?
<p>I'm not quite sure what you mean by this.</p>

<p>Are you saying that every time you want to retrieve the connection string you are unencrypting the section in order to retrieve it? Or that every time you want to change it you need to decrypt it?
</p>
Roger Willcocks
Software Engineer MSCD.NET
L-Space Design
http://www.l-space-design.com/
"Putting your experience to work"
   Report 
L-Space Design ... » Software Develo... » ASP.NET » Re: How to handle encryption decription of connection string ?

   

Powered by Community Server, by Telligent Systems

ASP.NET data compression provided by L-Space Design