Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gatewaytl

macrumors newbie
Original poster
Oct 14, 2008
1
0
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()
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.