开发者

ASP.NET <location path= and authentication mode

开发者 https://www.devze.com 2023-02-14 17:37 出处:网络
Can anyone please tell me whether the <开发者_Go百科;location path= works when we set <authentication mode= \"None\" /> ?It does.

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

精彩评论

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