Cannot set specific authorization to a folder
- From: "Magnus" <magnus.blomberg@xxxxxxxxxx>
- Date: Mon, 5 Nov 2007 09:13:16 +0100
Hi,
I have a web application with the following web.config (I removed area not
regarded to security).
I have a local group called ITCoordinators that I want to give access to the
existing folder Downloads in my root application.
I have no problem to reach the root application, but when trying to access
Default.aspx in the folder Downloads I get Access Denied.
I am logged in as a domain user that is directly added in the local group
ITCoordinators.
I also tried from other computers but it doesn't work.
The local group ITCoordinators are located at my web server called sto45. I
also tried without writing sto45\ but it didn't work.
<configuration>
<system.web>
<authentication mode="Windows"/>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
<location path="Downloads" inheritInChildApplications="true">
<system.web>
<authorization>
<deny users="*" />
<allow roles="sto45\ITCoordinators" />
</authorization>
</system.web>
</location>
</configuration>
Please help
Regards /Magnus
.
- Follow-Ups:
- Re: Cannot set specific authorization to a folder
- From: Joe Kaplan
- Re: Cannot set specific authorization to a folder
- Prev by Date: Re: forms authentication brings up dialog
- Next by Date: RE: Calling COM Server from ASP.NET WebService - impersonation pro
- Previous by thread: Re: forms authentication brings up dialog
- Next by thread: Re: Cannot set specific authorization to a folder
- Index(es):