更新时间:2022-10-24 18:30:24
是的,在包含以下内容的子文件夹中放置一个 web.config 文件:
<system.web><授权><allow users="*"/></授权></system.web></配置>Is it possible to disable all authentication in a subfolder of a web site that is Forms Authenticated? How do you accomplish this?
Yes, place a web.config file on the subfolder with this content:
<configuration>
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</configuration>