Integrated Windows Authentication, Change IE's Reaction to a 401.3

From: Rudie Noble (disneynoble@comcast.net)
Date: 12/20/02


From: disneynoble@comcast.net (Rudie Noble)
Date: 20 Dec 2002 07:54:58 -0800


Using Integrated Windows Authentication on a Windows 2000 Server
running IIS that is acting as an Intranet server. Trying to find a
way to eliminate the login prompt that IE generates following an
authenticated user's attempt to access a web page in a subdirectory
that has been protected by limiting rights (ACL) to selective user
groups. IIS generates 401.3 and IE reacts by displaying a login
prompt.

More Details......

Integrated Windows Authentication (also known as IWA, NT
Challenge/Response, and NTLM), seems well suited for an intranet
environment, since both user and Web server are in the same domain and
we can ensure that every user has Microsoft Internet Explorer (an IWA
requirement). Our Intranet site has pages that are both public and
some that are restricted by user group. Based on information
contained in other forum postings it is my understanding that when an
attempt to access a page from within a directory that specifies
Integrated Windows Authentication, IIS does not initially prompt the
user for a user name and password.

The current Windows user information on the client computer is used
for authentication. IWA is a secure form of authentication because
the user name and password are not sent across the network. When you
enable IWA, the user's browser proves its knowledge of the password
through a cryptographic exchange with your Web server, involving
hashing.

However, if this authentication exchange initially fails to identify
the user (such as when a user is not currently logged into the
network), the browser will prompt the user for a Windows user name and
password. In our case the user is logged onto the network and the
authentication is successful, but the identified user just doesn't
have access rights (via ACL) to the HTML file.

When our users attempt to access such a restricted page IIS generates
a 401.3 and as a result IE issues a login prompt. It is my
understanding that it is IE making the decision to issue the prompt,
not IIS. This would give the user an opportunity to enter alternate
credentials that might have access rights. However, we want to just
deny access to that page because our users have no other id.

We see no need for this prompt, it's way too much of an invitation to
try and hack the system. These users were correctly logged onto the
session; they just don't have permission to this page. Displaying
either the 401.3 error page or the 401.1 error page (which is what
gets displayed after canceling out of the login prompt) would be fine
(and yes I know these messages can be customized).

I remain hopeful someone will know how to influence IE's behavior so
that it does not issue the logon prompt.

Rudie Noble
Director, Distributed Computing
Frank's Nursery



Relevant Pages

  • Re: disabling IIS login prompts
    ... if you using IIS authentication, by design, in local ... intranet zone, IE auto login for user, hence no prompt. ... >> In IIS on your internal web site disable all other authentication methods ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS, Integrated Windows Authentication, Intranet, Disable Prompt?
    ... Believe it or not, IIS always send the ... > Using Integrated Windows Authentication. ... not prompt the user for a user-id. ... > Microsoft Internet Explorer, version 2.0 or later. ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS Authentication
    ... If you are using the latter, and if your browser is configured with proxy, ... Enable IIS Logging Site Activity in Windows 2000 ... Write a simple HTML webpage and test if the prompt comes out ... > Once I login, things are fine, and I don't get prompted to go to other ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS basic authentication login prompt - 3 attempts
    ... > IIS raises login dialog box prompt on browser for ... That login ... > prompt gives user 3 attempts to enter correct ... IIS throw 401.1 error if third attempt ...
    (microsoft.public.inetserver.asp.general)
  • To remove IUSER from admin group
    ... site which I have created in IIS, it prompt for login ID & Password,when I ... add IUSER account in local administrator group it works fine.Everyone has ... When I open any web page it prompt for login ID & password, ...
    (microsoft.public.inetserver.iis)