Andy Fish wrote:
> Hi,
>
> I have an asp.net application in several tiers and I would like to
> enable it for NTLM.
>
> Ideally I would like the NTLM authentication to generate some kind of
> token that X can get hold of and pass to Y which in turn can pass it
> to windows which will say "yes, that is the correct user". is there
> any kind of mechanism like this in place?
>
Hi Andy,
In fact, NTLM already does that. The problem is that NTLM is explicitly
designed to not allow delegation of credentials, so you'll see a failure in
this scenario. The solution is to use Kerberos authentication and enable
delegation. If you do a KB search for "delegation scenario asp.net", you'll
hit an article that tells you how to configure it.
--
Jim Cheshire
================================
Blog:
http://blogs.msdn.com/jamesche
Latest entry:
Getting the PID and TID of a COM Call
Describes how to get the PID of the
dllhost process a COM call is executing
in and how to locate the thread as well.