BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in XML

 
 
Page 13790 of 19342

Encrypting Web.Config Values in ASP.NET 2.0

Blogger : ScottGus Blog
All posts : All posts by ScottGus Blog
Category : XML
Blogged date : 2006 Jan 09

One of the cool new features in the configuration system with ASP.NET 2.0 is the ability to encrypt any of the values stored within them (note: this works with any configuration section -- including ones you build yourself).  This is obviously important when storing sensitive information like connection strings -- and now enables you to avoid having to roll your own solution.

K Scott Allen posted a super simple example of how to encrypt a section on his blog (spolier: it is a one-line command).

Here are a few other good articles I found on the web that discuss it more as well:

Hope this helps,

Scott

P.S. While I`m mentioning building your own configuration sections, I thought I`d point out this past blog post i did that references Dmitry`s cool utility for building your own custom configuration sections + VS 2005 XML intellisense support for them.


Read comments or post a reply to : Encrypting Web.Config Values in ASP.NET 2.0
Page 13790 of 19342

Newest posts
 

    Email TopXML