Store Connection Strings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Wright

    #1

    Store Connection Strings

    I need a good way to securely store my connection strings for my database.
    Right now I have them in the program resources, but this could be reflected
    out correct? In VB 6 I used a INI file that stored the values in an
    encrypted format. So, what is the best way to do this in .NET?

    John


  • zacks@construction-imaging.com

    #2
    Re: Store Connection Strings

    On Dec 14, 11:38 am, "John Wright" <riley_wrig...@ hotmail.comwrot e:
    I need a good way to securely store my connection strings for my database.
    Right now I have them in the program resources, but this could be reflected
    out correct? In VB 6 I used a INI file that stored the values in an
    encrypted format. So, what is the best way to do this in .NET?
    I would store them in a XML file, encrypted. At least the password
    encrypted.

    Comment

    • Chris Dunaway

      #3
      Re: Store Connection Strings

      On Dec 14, 10:38 am, "John Wright" <riley_wrig...@ hotmail.comwrot e:
      I need a good way to securely store my connection strings for my database.
      Right now I have them in the program resources, but this could be reflected
      out correct? In VB 6 I used a INI file that stored the values in an
      encrypted format. So, what is the best way to do this in .NET?
      >
      John
      Use the built in facility for encrypting the Connection Strings in the
      app.config file:



      Chris

      Comment

      Working...