Re: Cannot set specific authorization to a folder



Thanks Joe, but I don't think Impersonate is applicable in this case. This
should just be when using code to access other resources as a database.
Tried it anyhow without any further success. Anyone that can confirm this,
and maybe help me?

/Magnus

"Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ewieuP$HIHA.5400@xxxxxxxxxxxxxxxxxxxxxxx
It doesn't look like you have impersonation enabled, so the security check
would be done with the process account instead of the identity of the
authenticated user.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Magnus" <magnus.blomberg@xxxxxxxxxx> wrote in message
news:ufCrVQ4HIHA.4712@xxxxxxxxxxxxxxxxxxxxxxx
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






.



Relevant Pages