Home All Groups Group Topic Archive Search About

Encrypting the app.config file

Author
18 Jan 2006 4:14 PM
Eric
My application will use the DataProtectionConfigurationProvider to encrypt my
app.config file. I can encrypt the file from within my applicaiton, but I
would like to be able to encrypt it outside the application so that the file
is encrypted when it is deployed. I know that you can encrypt web.config
files with aspnet_regiis.exe. Is there a tool that can encrypt app.config
files as well?

Author
19 Jan 2006 5:04 AM
Jim Wooley
You can look into the configuration portion of the Enterprise Library. I
believe they have tools for encrypting the values and a tool to manage the
config outside of your application. See
http://practices.gotdotnet.com/projects/entlib.

Jim

Show quote
"Eric" <E***@discussions.microsoft.com> wrote in message
news:97C9E73F-8CBD-4227-A4A5-66D2AE9C9AC5@microsoft.com...
> My application will use the DataProtectionConfigurationProvider to encrypt
> my
> app.config file. I can encrypt the file from within my applicaiton, but I
> would like to be able to encrypt it outside the application so that the
> file
> is encrypted when it is deployed. I know that you can encrypt web.config
> files with aspnet_regiis.exe. Is there a tool that can encrypt app.config
> files as well?
>
>

AddThis Social Bookmark Button