Can anyone please tell me whether the <location path= works when we set <authentication mode= "None" /> ?
-
what do you mean by "works" - how do you expect the application to behave?Brandon Montgomery– Brandon Montgomery2011-03-03 05:39:25 +00:00Commented Mar 3, 2011 at 5:39
-
Yes. "works" mean whether the <location path=.. /> has any effect when we set the authentication mode to none.Spock– Spock2011-03-03 05:53:26 +00:00Commented Mar 3, 2011 at 5:53
Add a comment
|
2 Answers
It does.
Check this post: Authentification-None for one folder(page) when the project is under FormsAuthentifications which shares an example.
Comments
<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 "?"