M
Max2006
Hi,
I have the following tags in my root web.config file:
<authorization>
<allow roles="RoleA,RoleB"/>
<deny users="*"/>
</authorization>
I also have a public folder in my application called "~/Public"
I like to put all publicly available aspx pages in the "~/Public" folder.
Here is what I have in the web.config file within "~/Public" folder:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</configuration>
The problem is that none of pages in "~/Public" folder are available for
public users. I guess still thetag <deny users="*"/> in root web.config is
in effect.
How can I make the pages within "~/Public" folder available for anonymous
users?
Any help would be appreciated,
Max
I have the following tags in my root web.config file:
<authorization>
<allow roles="RoleA,RoleB"/>
<deny users="*"/>
</authorization>
I also have a public folder in my application called "~/Public"
I like to put all publicly available aspx pages in the "~/Public" folder.
Here is what I have in the web.config file within "~/Public" folder:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</configuration>
The problem is that none of pages in "~/Public" folder are available for
public users. I guess still thetag <deny users="*"/> in root web.config is
in effect.
How can I make the pages within "~/Public" folder available for anonymous
users?
Any help would be appreciated,
Max