Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Using Basic authentication to generate Kerberos tokens
Article ID: 287537 - View products that this article applies to.
This article was previously published under Q287537
When you use Basic authentication to connect to a Web site that is hosted by Internet Information Services (IIS), you can take advantage of the delegation features of Kerberos to authenticate on multiple back-end servers, such as a Microsoft SQL Server that is called from Active Server Pages (ASP) running on IIS. To generate a Kerberos token, IIS must be a member of a Windows 2000 domain and have access to that domain's active directory.
Note A Windows 2000 domain does not generate a Kerberos token when the domain authenticates UPN credentials against a trusted Massachusetts Institute of Technology (MIT) Kerberos realm and when you use Basic authentication. This behavior is by design.
Because Basic authentication transmits user information (user name and password) in clear text, Basic authentication should only be used over Secure Socket Layer (SSL) connections.
When IIS authenticates users it does so by calling the LsaLogonUser function, which in turn calls an authentication package (MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 for Basic authentication). When Basic authentication occurs, the following event is written to the security log IIS 5.0 server, assuming the Audit Logon Events policy is enabled:
After a user has logged into IIS with Basic authentication, IIS has that user's credentials (username:password), and can use those credentials to generate a token that can be used to impersonate the user on other computers. When a user requests a Web page that references resources on another Windows 2000 server, the IIS server generates a Kerberos security token and an event similar to the following is written in the security log on the remote server:
Note that using Kerberos is not limited to Basic authentication. By default, if a Windows 2000 client attaches to an IIS5 server that is configured with Integrated authentication, Kerberos authentication is used.
This article is based on the information provided on page 109 of the following book:
Howard, Michael, Richard Waymire, and Marc Levy. Designing Secure Web-Based Applications for Microsoft Windows 2000 (Redmond: Microsoft Press, July 2000), p. 109.
For more information about authentication methods in IIS, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/264921/ )How IIS authenticates browser clients
229694For more information about Kerberos, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/229694/ )How to install and use the IIS Security "What If" tool
(http://support.microsoft.com/kb/217098/ )Basic overview of Kerberos user authentication protocol in Windows 2000
(http://support.microsoft.com/kb/266080/ )Answers to frequently asked Kerberos questions
(http://support.microsoft.com/kb/231789/ )Local logon process for Windows 2000
Article ID: 287537 - Last Review: November 21, 2006 - Revision: 3.1