How to handle encryption decription of connection string ? (1 Viewer)

gatewaytl

New member
Local time
Today, 14:52
Joined
Oct 15, 2008
Messages
1
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()
 

Users who are viewing this thread

Top Bottom