如何建立Configuration Editor项与Feature Delegation项的映射关系?
IIS Feature Delegation 与 Configuration Editor 项对应关系
下面是常见的Feature Delegation友好名称与Configuration Editor中对应配置节点的映射:
- 默认文档:对应
system.webServer/defaultDocument节点 - 目录浏览:对应
system.webServer/directoryBrowse节点 - 错误页:对应
system.webServer/httpErrors节点 - HTTP 重定向:对应
system.webServer/httpRedirect节点 - HTTP 响应标头:对应
system.webServer/httpProtocol/customHeaders节点 - 静态内容:对应
system.webServer/staticContent节点 - 应用程序设置:对应
appSettings节点 - 连接字符串:对应
connectionStrings节点 - 身份验证:
- 匿名身份验证:
system.webServer/security/authentication/anonymousAuthentication - 基本身份验证:
system.webServer/security/authentication/basicAuthentication - 表单身份验证:
system.web/authentication/forms
- 匿名身份验证:
- 授权规则:对应
system.web/authorization节点 - URL 重写:对应
system.webServer/rewrite节点 - 输出缓存:对应
system.webServer/caching节点 - 请求筛选:对应
system.webServer/security/requestFiltering节点
如果遇到不明确的映射项,可以通过以下方式确认:
- 打开Feature Delegation,选中目标项后,查看右侧操作栏的说明文本,部分项会直接标注对应的配置路径
- 查看服务器或站点的
applicationHost.config或web.config文件,查找与Feature Delegation项功能匹配的配置节点,Feature Delegation的权限设置本质是控制这些节点的可编辑范围 - 在Configuration Editor中,通过搜索功能输入Feature Delegation项的关键词,快速定位对应节点
内容的提问来源于stack exchange,提问作者AlexLaforge
相关产品推荐
相关产品推荐

