Return to
HomePage, ASPNET2SecurityFAQs
Question: When and how do I use Windows authentication in ASP.NET 2.0?
Answer:
Your ASP.NET application should use Windows authentication when your users have Windows accounts that can be authenticated by a server. The accounts can be local Windows accounts or domain accounts.
To use Windows authentication in ASP.NET in conjunction with Integrated Windows authentication in IIS
* Configure the virtual directory on IIS to disable anonymous access and configure it to use Integrated Windows authentication alone (by default anonymous access is enabled).
* Configure your application's Web.config for Windows authentication (the default)
<authentication mode="Windows">
More Information
For more information about using windows authentication and features like impersonation provided by windows authentication, see “How To: Use Windows Authentication in ASP.NET 2.0” at http://msdn.microsoft.com/library/en-us/dnpag2/html/PAGHT000025.asp
For additional information on How Windows authentication works in ASP.NET, see “Explained: Windows Authentication in ASP.NET 2.0” at <<insert link to Explained Windows Authentication document>>
Return to
HomePage, ASPNET2SecurityFAQs