zoukankan      html  css  js  c++  java
  • ASP.NET IIS Registration Tool (Aspnet_regiis.exe)

    https://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx

    The ASP.NET IIS Registration tool (Aspnet_regiis.exe) is used to register ASP.NET applications with Internet Information Services (IIS).

    This topic describes the options, syntax, and other information for using the tool.

    获取授权

    -pa container account

    aspnet_regiis.exe -pa "NetFrameworkConfigurationKey" "NT AuthorityNetwork Service"

    Grants permission for the specified user or group account to access the specified key container. This option can take the following modifiers:

    • -pku   Substitutes a user-specified container for the default machine container.

    • -csp provider   Specifies the container provider to use.

    • -full   Specifies that full access should be added (by default, access is read-only).

    加密  需要管理员权限运行

    -pef section webApplicationDirectory

    Encrypts the specified configuration section of the Web.config file in the specified physical (not virtual) directory.

    Example 

    aspnet_regiis.exe -pef "connectionStrings" .

    解密

    -pdf sectionwebApplicationDirectory

    Decrypts the specified configuration section of the Web.config file in the specified physical (not virtual) directory.

  • 相关阅读:
    字典-字典练习
    元组
    切片
    列表-列表练习
    一个登录小程序
    py定义变量-循环-条件判断
    charles抓包
    接口测试-Http状态码-postman上传文件
    jm解决乱码问题-参数化-数据库操作-文件上传下载
    (二)CRLF注入
  • 原文地址:https://www.cnblogs.com/chucklu/p/6831588.html
Copyright © 2011-2022 走看看