encrypt connection string

.net Bahrain
  • 14 years ago

    i want to encrypt my connection string, i aleady store it outside the code & now i want to encrypt it and the decrypt it in the code?

    i need a good and secure encryption code, please help?

  • 14 years ago

    Hi,

    There are several ways of achieving this, let us know some more information such as what's your target .NET platform (v1.x / v2.x), is it in ASP.NET?

    Instead of me babbling on about the great new addition to ASP.NET 2.0 heres a noice blog entry on securing ASP.NET connection strings in Web.Config files:-)





Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Some people, when confronted with a problem, think "I know, I’ll use regular expressions." Now they have two problems.” - Jamie Zawinski