AngryCoder
New member
- Joined
- Feb 9, 2003
- Messages
- 4
I am fairly new to .Net, and I am having problems setting up Authentication on my web project. I have searched for HOURS for any answers but cant seem to find anything. If any one can point out what I am doing wrong, I would grealty appreciate it.
<configuration>
<system.web>
<authentication mode="Windows" />
<authorization>
<deny users="?" />
</authorization>
</system.web>
<location path="Admin">
<system.web>
<authorization>
<allow roles="Administrators" />
<deny users="?,*" />
</authorization>
</system.web>
</location>
</configuration>
Basically, I want to lock down the Admin directory and allow only those in the Administrator group access. When I log in using the Administrator account I get permission denied. Any suggestions?
Thanks!!!
<configuration>
<system.web>
<authentication mode="Windows" />
<authorization>
<deny users="?" />
</authorization>
</system.web>
<location path="Admin">
<system.web>
<authorization>
<allow roles="Administrators" />
<deny users="?,*" />
</authorization>
</system.web>
</location>
</configuration>
Basically, I want to lock down the Admin directory and allow only those in the Administrator group access. When I log in using the Administrator account I get permission denied. Any suggestions?
Thanks!!!