Re: Under what credentials does a web-page run?
From: Tom Kaminski [MVP] ((A_at_T))
Date: 02/10/05
- Next message: Zorrack: "Re: Very slow response from IIS 5.0"
- Previous message: John Cesta: "Re: Using IIS 6 on Windows 2000 Server"
- In reply to: Ron Rosenkoetter: "RE: Under what credentials does a web-page run?"
- Next in thread: Ron Rosenkoetter: "Re: Under what credentials does a web-page run?"
- Reply: Ron Rosenkoetter: "Re: Under what credentials does a web-page run?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Feb 2005 09:01:34 -0500
"Ron Rosenkoetter" <RonRosenkoetter@discussions.microsoft.com> wrote in
message news:92134E2C-744C-423F-A319-A2CC268AC3CB@microsoft.com...
> > Windows Server 2003, IIS 6
> >
> > I'm teaching myself some basic ASP (i'm very good at VBScript, but I'm
very
> > new to using it in a web environment).
> >
> > As a test, I have a very basic page that connects to a Group object in
AD,
> > and returns its name.
> >
> > When the page is set to anonymous using the local IUSR account, I cannot
> > create the Group object (which makes sense to me). When I change the
> > anonymous connection to use a domain account, it works fine.
> >
> > However, when I turn off anonymous access, and use Integrated Windows,
I
> > can no longer create the group object. I'm logged into my Windows XP
(SP1)
> > machine as a domain administrator. I've verified that my account is
being
> > authenticated by the web-page using the Server variable REMOTE_USER.
> >
> > Basically my question is... what credentials does a web-page run under
when
> > set to Integrated Windows authentication instead of an account for
anonymous
> > use?
> Okay, more information.
>
> If I set the authentication method to basic, it works fine. Any ideas?
>
Sounds like a delegation problem. With Windows Integrated authentication,
the password is not actually sent to IIS. Because of this, IIS can't in
turn authenticate you to a third machine. Basic authentication actually
sends the password so IIS has it and can use it to authenticate to other
machines. This explains it (although it's for IIS5):
http://support.microsoft.com/?id=158229
Some discussion for IIS6 (but for ASP.NET):
http://support.microsoft.com/default.aspx?scid=kb;en-us;810572
- Next message: Zorrack: "Re: Very slow response from IIS 5.0"
- Previous message: John Cesta: "Re: Using IIS 6 on Windows 2000 Server"
- In reply to: Ron Rosenkoetter: "RE: Under what credentials does a web-page run?"
- Next in thread: Ron Rosenkoetter: "Re: Under what credentials does a web-page run?"
- Reply: Ron Rosenkoetter: "Re: Under what credentials does a web-page run?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|