D
Dirk Meusel
Background:
In the root of my webapp the web.config looks like:
<authentication mode="Forms">
<forms loginUrl="login.aspx">
</forms>
</authentication>
<authorization>
<allow users="*" />
</authorization>
The folder is set in IIS to Application Status
In a subdirectory, where I want to have access controlled, I changed
web.config to :
<authorization>
<allow roles="Chefs"></allow>
<deny users="*"></deny>
</authorization>
Problem:
I still can access all the files in the subdirectory, despite no
authentication has been taken place. no login.aspx or whatever is
displayed, when I try to access a file unauthorised.
Any Idea??
thanks
dirk
In the root of my webapp the web.config looks like:
<authentication mode="Forms">
<forms loginUrl="login.aspx">
</forms>
</authentication>
<authorization>
<allow users="*" />
</authorization>
The folder is set in IIS to Application Status
In a subdirectory, where I want to have access controlled, I changed
web.config to :
<authorization>
<allow roles="Chefs"></allow>
<deny users="*"></deny>
</authorization>
Problem:
I still can access all the files in the subdirectory, despite no
authentication has been taken place. no login.aspx or whatever is
displayed, when I try to access a file unauthorised.
Any Idea??
thanks
dirk