Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Integrated Windows Authentication and Session Timeout.

Reply
Thread Tools

Integrated Windows Authentication and Session Timeout.

 
 
Sulaiman
Guest
Posts: n/a
 
      10-19-2007
The main idea of IWA is to have a single sign on capabilities web site and I
think it is good if you have a web that cater internal people.
A few questions coming out from this implementation
1) How does the C# Windows Authentication work? Does the NTLM handshake only
happen in the first request? or for every request that get sent to the
server, it performs NTLM handshake?

If the NLTM handshake only happens in the first request, how does the server
maintain the client state? is it through cookie?

2) In a form based implementation, it is very easy to implement session
timeout. We initially assigned the user a authentication cookie and just set
the authentication cookie to expire to say 20 minutes. If it is expired, then
just redirect to the login page. However in the Windows Authentication
environment, how you implement session timeout? because as long as the user
still log in to the Machine, it should never be timeout? What do you guys
think about this?

 
Reply With Quote
 
 
 
 
Sulaiman
Guest
Posts: n/a
 
      10-19-2007
Sorry, maybe I should post with the right terms... I need to differentiate
between authentication and session state... I made some changes below

>
> If the NLTM handshake only happens in the first request, how does the server
> maintain the client state? is it through cookie?
>


How does the server maintain the authentication state? Is it through cookie?

 
Reply With Quote
 
 
 
 
Dominick Baier
Guest
Posts: n/a
 
      10-24-2007
The NTLM credentials are sent on every request, but IIS and the LSA do some
clever caching so they don't have to do a roundtrip to the registry/a DC
every time.

-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

> Sorry, maybe I should post with the right terms... I need to
> differentiate between authentication and session state... I made some
> changes below
>
>> If the NLTM handshake only happens in the first request, how does the
>> server maintain the client state? is it through cookie?
>>

> How does the server maintain the authentication state? Is it through
> cookie?
>



 
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
Java - Integrated Windows Authentication - NTLM Authentication Forwarding Will Java 5 12-03-2005 01:00 AM
Integrated Windows Authentication, ASP.NET and FoxPro Amedee Van Gasse ASP .Net 2 06-16-2005 03:33 PM
SQL integrated authentication when using forms authentication Brett Smith ASP .Net 2 10-26-2004 02:15 PM
Intranet and Integrated Windows Authentication Andrew ASP .Net 4 06-22-2004 11:22 PM
Basic Authentication v. Integrated Windows Authentication w/ Delegation Mark ASP .Net 0 01-20-2004 03:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57