Hojoformo
asked on
Best Practise for Storing SQL Connection Strings in C# WIndow Form Applications
What is the best practise for storing and securing SQL Server connection strings in window desktop applications? Is it better to store in the app.config or maybe a separate class. Also, is there any way to encrypt or secure the connection string?
Check below link for Securing Data Layer in C# Application.
http://stackoverflow.com/questions/1214621/securing-your-data-layer-in-a-c-application
http://stackoverflow.com/questions/1214621/securing-your-data-layer-in-a-c-application
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For encrypting app.config, check the links below:
http://www.codeproject.com/KB/cs/Configuration_File.aspx
http://datacogs.com/datablogs/archive/2006/08/23/393.aspx