How to handle encryption decription of connection string ?

Discussion in 'Web Design and Development' started by gatewaytl, Oct 14, 2008.

  1. gatewaytl macrumors newbie

    Joined:
    Oct 14, 2008
    #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()
     
  2. SrWebDeveloper macrumors 68000

    SrWebDeveloper

    Joined:
    Dec 7, 2007
    Location:
    Alexandria, VA, USA
    #2

Share This Page