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 "?"
精彩评论