【发布时间】:2021-11-17 15:44:27
【问题描述】:
此规范在根 web.config 文件中是否正确?我没有在受保护的文件夹中使用子 web.config。
<system.web>
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="">
</forms>
</authentication>
</system.web>
另外一个 system.web 规范也在根 web.config 中:
<location path="to protected folder">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
【问题讨论】:
标签: asp.net