Windows authorization problem
From: Marc Thompson ("Marc)
Date: 03/10/04
- Next message: Nancy: "Forms authentication/ web farm problem"
- Previous message: Alfons Puig: "Re: POST fails when sends authorization header"
- Next in thread: Marc Thompson: "Re: Windows authorization problem"
- Reply: Marc Thompson: "Re: Windows authorization problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 10 Mar 2004 16:56:10 -0500
Hi there!
Here is the situation, I have a Web app currently running on a W2k3 server
machine. Note: this machine isn't the DC. I am using the following in my
web.config file:
<identity impersonate="false" />
<authentication mode="Windows" />
<authorization>
<deny users="?"/>
<allow users="MyDomain.local\Jimmy"/>
<deny users="*"/>
</authorization>
The good news is, this works just how I want it to on this machine. Only
"Jimmy" is authorized to view this application, no impersonation, everyone
else (authenticated or not) isn't authorized and thus can't view this app.
Now, when I put this Web App on the Domain Controller (W2k3 server) I get
can't get authorized. When I try to authenticate as "Jimmy" I get:
Error message 401.2.: You do not have permission to view this directory or
page using the credentials you supplied
if I change my web.config to:
<authorization>
<deny users="?"/>
</authorization>
Then "Jimmy" is successfully authorized to view the app but, so is everyone
else on my domain. (Not acceptable)
Any help would be greatly appreciated. Both IIS servers have been set up the
same exact way it just seems like the DC Machine isn't liking the
<allow users="MyDomain.local\Jimmy"/>line. Any help would be much
appreciated!!!!!!
- Next message: Nancy: "Forms authentication/ web farm problem"
- Previous message: Alfons Puig: "Re: POST fails when sends authorization header"
- Next in thread: Marc Thompson: "Re: Windows authorization problem"
- Reply: Marc Thompson: "Re: Windows authorization problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|