How to securen a Connection String?How to securen a Connection String?
Old forum URL: forums.lhotka.net/forums/t/6485.aspx
Raghav posted on Monday, February 23, 2009
Dear friends,
I am using VS 2008 (VB.NET) and CSLA.NET 3.6, at runtime i am changing my connection string and its working fine. My connection string is storing in app.config file so anybody can open and see my connection string. so I would like to secure my connection string which contains user name and password of SQL Server. Would anyone help me out!!!
Thanks
Raghavrsbaker0 replied on Monday, February 23, 2009
The connection strings section of the app.config file supports encryption.
You call the ProtectSection() method on the SectionInformation member of the settings section.
Copyright (c) Marimer LLC