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 Authority\Network 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.
相关文章
- Uses for MachineKey in ASP.NET
- CSRF in asp.net mvc and ap.net core
- .net mvc 站点自带简易SSL加密传输 Word报告自动生成(例如 导出数据库结构) 微信小程序:动画(Animation) SignalR 设计理念(一) ASP.NET -- WebForm -- ViewState ASP.NET -- 一般处理程序ashx 常用到的一些js方法,记录一下 CryptoJS与C#AES加解密互转
- 百度地图和高德地图坐标系的互相转换 四种Sandcastle方法生成c#.net帮助类帮助文档 文档API生成神器SandCastle使用心得 ASP.NET Core
- 【转】.NET(C#):浅谈程序集清单资源和RESX资源 关于单元测试的思考--Asp.Net Core单元测试最佳实践 封装自己的dapper lambda扩展-设计篇 编写自己的dapper lambda扩展-使用篇 正确理解CAP定理 Quartz.NET的使用(附源码) 整理自己的.net工具库 GC的前世与今生 Visual Studio Package 插件开发之自动生
- C#实现多级子目录Zip压缩解压实例 NET4.6下的UTC时间转换 [译]ASP.NET Core Web API 中使用Oracle数据库和Dapper看这篇就够了 asp.Net Core免费开源分布式异常日志收集框架Exceptionless安装配置以及简单使用图文教程 asp.net core异步进行新增操作并且需要判断某些字段是否重复的三种解决方案 .NET Core开发日志
- bootstrap-data-target触发模态弹出窗元素的data使用 data-toggle与data-target的作用 深入ASP.NET MVC之九:Ajax支持 Asp.Net MVC4系列--进阶篇之AJAX
- ASP.NET 之 MVC框架及搭建
- asp.net, c# 时间区间查询,2个时间段查询, sql语句 用于SQLServer(mssql)
- ASP.Net Core异步编程
- ASP.NET Web API实践系列03,路由模版, 路由惯例, 路由设置
- 使用SHA256WithRSA来签名和验签(.NET/C#)
- .NET删除字节数组中的0字节
- asp.net mvc中加入log4net记录错误日志
- 【历史上的今天】6 月 27 日:摩托罗拉创始人出生;微软发布 ASP.NET Core;靠计算机起家的美国大亨
- asp.net 性能提升
- C#与.NET Framework c#编程语言,和java是一样的。(c#,java) -->javaweb,asp.net