Use aspnet_regiis.exe to encrypt and decrypt configured bytes

Source: Internet
Author: User

-The PE section encrypts the configuration section. Optional parameters:

[-Prov provider]Program.

[-App virtual-path]

This virtual path is encrypted. The virtual path must start with a forward slash. If the virtual path is "/", it indicates the root directory of the site. If-app is not specified

Web. config for encryption.

[-Site-name-or-id] the site of the virtual path specified in-app. If not specified, the default website is used.

[-Location sub-path] Location sub-path.

[-PKM] encrypts/decrypts machine. config instead of Web. config.
 
-The PD section decrypts the configuration section. Optional parameters:

[-App virtual-path]

Decrypt the data in this virtual path. The virtual path must start with a forward slash. If the virtual path is "/", it indicates the root directory of the site. If-app is not specified

Web. config for decryption.

[-Site-name-or-id] the site of the virtual path specified in-app. If not specified, the default website is used.

[-Location sub-path] Location sub-path.

[-PKM] encrypts/decrypts machine. config instead of Web. config.
 
-Wordpress Section web-app-physical-Dir

Encrypt the configuration section. Optional parameters:

[-Prov provider] uses this provider for encryption.
 
-PDF web-app-physical-Dir

Decrypts the configuration section.
 
-The PC Container creates an RSA key pair in containername. Optional parameters:

[-Size key-size] key-size. The default value is 1024.

[-PKU] is a user container rather than a computer container.

[-Exp] enable private key export.

[-CSP provider] The CSP provider to be used.
 
-The PZ container deletes containername. Optional parameters:

[-PKU] is a user container rather than a computer container.
 
-The PI container file imports an RSA key pair from the XML file. Optional parameters:

[-PKU] is a user container rather than a computer container.

[-Exp] Create an exported key.

[-CSP provider] The CSP provider to be used.
 
-The PX container file exports an RSA key pair to the XML file. Optional parameters:

[-PKU] is a user container rather than a computer container.

[-Pri] includes the private key.

[-CSP provider] The CSP provider to be used.
 
-The PA container account adds access to the account to the container. Parameters:

[-PKU] is a user container rather than a computer container.

[-CSP provider] The CSP provider to be used.

[-Full] add full access (read access by default ).
 
-The PR container account removes access to the account from the container. Parameters:

[-PKU] is a user container rather than a computer container.

[-CSP provider] The CSP provider to be used.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.