简体   繁体   English

IISreset 在 wwwroot 目录下创建 web.config

[英]IISreset creates web.config under the wwwroot dir

IISreset creates web.config under the wwwroot dir. IISreset 在 wwwroot 目录下创建 web.config。 Anyone know why this would happen?有谁知道为什么会发生这种情况? it's creating a vulnerability.它正在创造一个漏洞。

thanks谢谢

IIS should only generate web.config when it need to apply some configuration change in site level. IIS 应该只在需要在站点级别应用一些配置更改时生成 web.config。 Please check what was logged in that web.config and did you enable always running for your web application in Default Web Site.请检查 web.config 中记录的内容,您是否在默认 Web 站点中为您的 web 应用程序启用始终运行。

Besides, Microsoft Prcocess monitor will display the process that created web.config.此外,Microsoft 进程监视器将显示创建 web.config 的进程。 Please create a filter for "Path contains wwwroot\web.config".请为“路径包含 wwwroot\web.config”创建一个过滤器。

在此处输入图像描述 在此处输入图像描述

https://docs.microsoft.com/en-us/sysinternals/downloads/procmon https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM