Integrated Windows Authentication
||This article needs attention from an expert on the subject. (January 2009)|
Integrated Windows Authentication (IWA) is a term associated with Microsoft products that refers to the SPNEGO, Kerberos, and NTLMSSP authentication protocols with respect to SSPI functionality introduced with Microsoft Windows 2000 and included with later Windows NT-based operating systems. The term is used more commonly for the automatically authenticated connections between Microsoft Internet Information Services, Internet Explorer, and other Active Directory aware applications.
IWA is also known by several names like HTTP Negotiate authentication, NT Authentication, NTLM Authentication, Domain authentication, Windows Integrated Authentication, Windows NT Challenge/Response authentication, or simply Windows Authentication.
Integrated Windows Authentication uses the security features of Windows clients and servers. Unlike Basic or Digest authentication, initially, it does not prompt users for a user name and password. The current Windows user information on the client computer is supplied by the web browser through a cryptographic exchange involving hashing with the Web server. If the authentication exchange initially fails to identify the user, the web browser will prompt the user for a Windows user account user name and password.
Integrated Windows Authentication itself is not a standard or an authentication protocol. When IWA is selected as an option of a program (e.g. within the Directory Security tab of the IIS site properties dialog) this implies that underlying security mechanisms should be used in a preferential order. If the Kerberos provider is functional and a Kerberos ticket can be obtained for the target, and any associated settings permit Kerberos authentication to occur (e.g. Intranet sites settings in Internet Explorer), the Kerberos 5 protocol will be attempted. Otherwise NTLMSSP authentication is attempted. Similarly, if Kerberos authentication is attempted, yet it fails, then NTLMSSP is attempted. IWA uses SPNEGO to allow initiators and acceptors to negotiate either Kerberos or NTLMSSP. Third party utilities have extended the Integrated Windows Authentication paradigm to UNIX, Linux and Mac systems.
Supported web browsers 
Integrated Windows Authentication works with most modern web browsers, but does not work over HTTP proxy servers. Therefore, it is best for use in intranets where all the clients are within a single domain. It may work with other Web browsers if they have been configured to pass the user's logon credentials to the server that is requesting authentication.
- Internet Explorer 2 and later versions.
- In Mozilla Firefox on Windows operating systems, the names of the domains/websites to which the authentication is to be passed can be entered (comma delimited for multiple domains) for the "network.negotiate-auth.trusted-uris" (for Kerberos) or in the "network.automatic-ntlm-auth.trusted-uris" (NTLM) Preference Name on the about:config page. On the Macintosh operating systems this works if you have a kerberos ticket (use negotiate). Some websites may also require configuring the "network.negotiate-auth.delegation-uris".
- Opera 9.01 and later versions can use NTLM/Negotiate, but will use Basic or Digest authentication if that is offered by the server.
- Google Chrome works as of 8.0.
- Safari works, once you have a Kerberos ticket.
Supported mobile browsers 
- Bitzer Secure Browser supports Kerberos and NTLM SSO from iOS and Android. Both KINIT and PKINIT are supported.
See also 
- SSPI (Security Support Provider Interface)
- NTLM (NT Lan Manager)
- SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism)
- GSSAPI (Generic Security Services Application Program Interface)
- "Microsoft Security Advisory (974926) - Credential Relaying Attacks on Integrated Windows Authentication". Microsoft Security TechCenter. 2009-12-08. Retrieved 2012-11-16. "This advisory addresses [...] Integrated Windows Authentication (IWA) [...]"
- "Q147706: How to disable LM authentication on Windows NT". Microsoft Support. 2006-09-16. Retrieved 2012-11-16. "[...] Windows NT supported two kinds of challenge/response authentication: [...] LanManager (LM) challenge/response [...] Windows NT challenge/response (also known as NTLM challenge/response) [...] LM authentication is not as strong as Windows NT authentication [...]"
- "IIS Authentication". Microsoft MSDN Library. Retrieved 2012-11-16. "Integrated Windows authentication (formerly known as NTLM authentication [...]) [...]"
- "NTLM Overview". Microsoft TechNet. 2012-02-29. Retrieved 2012-11-16. "When the NTLM protocol is used, a resource server must [...] Contact a domain authentication service"
- "MSKB258063: Internet Explorer May Prompt You for a Password". Microsoft Corporation. Retrieved 2012-11-16. "Windows Integrated authentication, Windows NT Challenge/Response (NTCR), and Windows NT LAN Manager (NTLM) are the same and are used synonymously throughout this article."
- "IIS Authentication". Microsoft MSDN Library. Retrieved 2012-11-16. "Integrated Windows authentication (formerly known as [...] Windows NT Challenge/Response authentication) [...]"
- "MSKB258063: Internet Explorer May Prompt You for a Password". Microsoft Corporation.
- Microsoft Corporation. "Integrated Windows Authentication (IIS 6.0)". IIS 6.0 Technical Reference. Retrieved 2009-08-30.
- Case study on ASP.NET and Integrated Windows Authentication
- Discussion of IWA in Microsoft IIS 6.0 Technical Reference