JavaScript Editor jscript editor     Web designer 



Main Page

Provides a step-by-step example for encrypting sections of a configuration file for an ASP.NET application.

Protected Configuration helps improve the security of an application by letting you encrypt sensitive information that is stored in a Web.config file. You can use aspnet_regiis.exe to encrypt sections of the Web.config file and manage encryption keys. ASP.NET decrypts the configuration file when it processes the file. Therefore, decryption does not require any additional code. For more information about Protected Configuration, see Encrypting Configuration Information Using Protected Configuration.

During this walkthrough, you will learn how to do the following:

Expand imagePrerequisites

Expand imageGranting Read Access to an RSA Encryption Key

Expand imageEncrypting Sections of the Web.config File

Expand imageAccessing Decrypted Configuration Settings

Expand imageNext Steps

Expand imageSee Also



JavaScript Editor jscript editor     Web designer