Skip to content

How can I protect the use name and password in ConnectionString?

mycwcgr

Asked Aug 25, 2005, 5:17 PM EDT2 answers
Share
LinkedInX
In order to connect to database, I have to put the name and password in ConnectionString, I know the C# program can be uncompiled easily,
how can I the use name and password? thanks!

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mahesh Chand
    0
    There are several obfustactors out there such as preemptive.com and remotesoft.com. There is one free 
    community version available with Visual Studio 2005. 
    0
  • Mike Gold
    0
    You could also encrypt the connection string and decrypt it in your program.  This will add a little more security.

    -Mike G.
    0