0
我的网站只为授权用户打开,所以我拒绝匿名用户。但问题是样式已损坏,因为它不允许匿名用户访问Style文件夹。我如何才能从授权中删除样式文件夹
除了授权中的样式文件夹,我该如何?
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>
我的网站只为授权用户打开,所以我拒绝匿名用户。但问题是样式已损坏,因为它不允许匿名用户访问Style文件夹。我如何才能从授权中删除样式文件夹
除了授权中的样式文件夹,我该如何?
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>
使用位置元素as described here
<location path="style">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>