RE: Encrypt App.Config



Hi Dave,

As for the configuration file encryption feature, it doesn apply for both
ASP.NET web.config and other app.config. However, so far we only have
aspnet_regiis tool for web.config encryption. For app.config, we need to
use some additional code to do the encryption. I have also discussed this
with some others in the following thread:

http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.general/2
006-08/msg00555.html

Therefore, you can write a simple console application to help encrypt a
given app.config file(loaded via file path).

Best regards,

Steven Cheng
Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my manager
at: msdnmg@xxxxxxxxxxxxxx

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: Encrypt App.Config
thread-index: AciC1ViN9GG1utGOQU2WJbhSXbT9wA==
X-WBNR-Posting-Host: 204.32.219.21
From: =?Utf-8?B?RGF2ZQ==?= <daveII@xxxxxxxxxxxxx>
Subject: Encrypt App.Config
Date: Mon, 10 Mar 2008 10:37:00 -0700

Is there a command line utility to encrypt the connections strings in an
App.Config file similar to how aspnet_regiis -pef works for Web.Config?


.


Loading