Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > NTLM Authentication with multi-tiered application

Reply
Thread Tools

NTLM Authentication with multi-tiered application

 
 
Andy Fish
Guest
Posts: n/a
 
      01-09-2006
Hi,

I have an asp.net application in several tiers and I would like to enable it
for NTLM.

Say the web front end is running on server X and the business logic is
running on server Y. In the non-NTLM case, the user types his password into
the web front end and server X passes it to Y in order to authenticate him.

In the NTLM case, the user is already authenticated to X but since X does
not have the passsword, how can it convince Y that it knows the user is who
he says he is? It seems that I need to add a new Login() method to server Y
which does not require a password (i.e. a security loophole)

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?

I desperately don't want to have to enable asp.net impersonation throughout
the whole application because I know this will give me heaps of other
problems to deal with (file permissions etc)

Andy


 
Reply With Quote
 
 
 
 
Jim Cheshire
Guest
Posts: n/a
 
      01-09-2006
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.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANN: python-ntlm - provides NTLM support, including an authenticationhandler for urllib2 Matthijs Python 0 12-10-2008 03:38 PM
NTLM Authentication with multi-tiered application Andy Fish ASP .Net Security 2 01-09-2006 06:13 PM
Java - Integrated Windows Authentication - NTLM Authentication Forwarding Will Java 5 12-03-2005 01:00 AM
.NET HttpModule & NTLM Integrated Authentication Rob Mayo ASP .Net 2 01-26-2004 08:22 PM
WebControls and NTLM Authentication Carlos Fersura ASP .Net 0 11-03-2003 04:48 PM



Advertisments