开发者

ASP.NET <location path= and authentication mode

Can anyone please tell me whether the <开发者_Go百科;location path= works when we set <authentication mode= "None" /> ?


It does.

Check this post: Authentification-None for one folder(page) when the project is under FormsAuthentifications which shares an example.


<location path="Recovery">      //Path of the folder or form You want to allow
    <system.web>
        <authorization>
            <allow users="*" />
        </authorization>
    </system.web>
</location>

If u dont want to allow unauthorized user type "?"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜