Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Integrated Windows Authentication and Session Timeout.

541 views
Skip to first unread message

Sulaiman

unread,
Oct 18, 2007, 9:29:03 PM10/18/07
to
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?

Sulaiman

unread,
Oct 18, 2007, 9:56:00 PM10/18/07
to
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?

Dominick Baier

unread,
Oct 24, 2007, 9:35:13 AM10/24/07
to
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)

0 new messages