|
-
November 15th, 2009, 02:11 PM
#1
How do I encrypt connectionString in app.settings
I have this now:
Code:
<connectionStrings>
<add name="DataProject.My.MySettings.CobrosConnectionString"
connectionString="Data Source=***.**.***.**;Initial Catalog=test;User Id=test2;Password=pass123;"
providerName="System.Data.SqlClient" />
</connectionStrings>
I get the setting with:
cn.ConnectionString = My.Settings.CobrosConnectionString
How do I set/get the connection string encrypted instead of plain text?
thanks!
-
November 15th, 2009, 08:10 PM
#2
Re: How do I encrypt connectionString in app.settings
Good Luck,
Craig - CRG IT Solutions - Microsoft Gold Partner
-My posts after 08/2015 = .NET 4.x and Visual Studio 2015
-My posts after 11/2011 = .NET 4.x and Visual Studio 2012
-My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
-My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
-My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
-My posts before 04/2007 = .NET 1.1/2.0
*I do not follow all threads, so if you have a secondary question, message me.
-
November 24th, 2009, 08:23 AM
#3
Re: How do I encrypt connectionString in app.settings
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|