Is it possible to disable all authentication in a subfolder of a web site that is Forms Authenticated? How do you accomplish this?
+5
A:
Yes, place a web.config file on the subfolder with this content:
<configuration>
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</configuration>
Sergio
2010-03-11 14:10:42
Actually I noticed then I couldn't get to some connection strings in the web.config one level below this new one. Is that supposed to happen?
tyndall
2010-03-17 18:38:17
It could have been cause by the <connectionStrings/> tag in the original post
Sergio
2010-03-18 10:34:46
+1
A:
yes you can, you can use location tag in the web.config to configure folder level security.
lakhlaniprashant.blogspot.com
2010-03-11 14:12:25
I would probably use this method if I had many locations to specify differently and I wanted to manage them from a central file. good answer. +1
tyndall
2010-03-11 14:38:09