06-27-05 07:48 AM
Classic problem. Class solution -- not possible. NTLM does not support
double hop because that is a security vulnerability.
Now, this looks like a classic problem that networking introduces, so why is
this a security vulnerability? Let me give another example to clarify the
underlying issue.
Suppose your ASP page, when authenticated, connects to the user's bank using
that identity, authorizes the withdraw of all their money and puts it into
the crook's account.
If the ASP page can access the FileServer as the remote authenticated admin
user, the ASP page can also steal money from that user. To the computer,
both acts are the same -- re-use the user's identity to talk to another
server as the user to perform some authorization action -- so do you want
double hop to be legal or illegal?
You have to use an authentication protocol that supports "delegation" --
allowing the server to use their identity on their behalf to do something.
Basic authentication is implicit delegation since it passes
username/password to the server so it can do this. Kerberos also supports
delegation but needs Active Directory and configuration.
IIS5 only supports delegation if Kerberos is used everywhere. IIS6 and
Windows Server 2003 introduce protocol transitioning, which only requires
Kerberos between IIS6 and the backend servers -- the authentication protocol
between the web browser and IIS6 can be anything, including Integrated
authentication.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Paul J. Landry" <PaulJLandry@discussions.microsoft.com> wrote in message
news:2564B32A-50CE-4600-BAD4-D1EB292030EA@microsoft.com...
Hi Tom.
Yeah, Basic works. But *I'd* really like to use Windows Intrgrated! Is
there any way to get that to work?
I got some code from MSDN that is supposed to allow ASP to impersonate a
user, but from what I see, a username and password has to be passed to the
script. (And I don't think Windows Integrated lets me see the user's
password)
And it also doesn't seem to work.... :-(
Thoughts?
-Pauli
[ Post a follow-up to this message ]
|