all groups > dotnet security > june 2006 >
You're in the

dotnet security

group:

ConnectionStrings encryption


ConnectionStrings encryption paulo
6/30/2006 5:13:10 PM
dotnet security:
Hello,

I just found the following article on how to encrypt connection strings
in .config files with .NET 2.0:

http://msdn2.microsoft.com/en-us/library/dtkwfdky.aspx

However it focus on ASP.NET applications, and I also want to do it in
Windows Forms applications. Is this possible? Could someone point me to
a way to do it using the new .NET 2.0 Protected Configuration classes?
Thanks in advance for any help given.

Regards,
Re: ConnectionStrings encryption Mary Chipman [MSFT]
6/30/2006 8:06:47 PM
Here's another resource that discusses the issue in the context of
both Web and Windows forms:
http://msdn2.microsoft.com/en-us/library/89211k9b.aspx.

--Mary

[quoted text, click to view]
Re: ConnectionStrings encryption Dominick Baier [DevelopMentor]
7/2/2006 12:00:00 AM
well - encrypting stuff on the client doesn't really buy you any security.

if the app is able to decrypt it (running in the user's context) - then the
user is able too...

just keep that in mind...

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

[quoted text, click to view]

Re: ConnectionStrings encryption Mary Chipman [MSFT]
7/3/2006 2:58:15 PM
You're absolutely right -- in a Windows app encrypting config sections
is good only for obfuscation.

--Mary

On Sun, 2 Jul 2006 07:34:32 +0000 (UTC), Dominick Baier
[quoted text, click to view]
Re: ConnectionStrings encryption paulo
7/5/2006 12:00:00 AM
That's what I'm looking for!
Thank you for your advice.

Regards,
paulo

[quoted text, click to view]
AddThis Social Bookmark Button