When and how do I use windows authentication in ASP.NET 2.0?
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”>
Posted by Mahesh ( Tryangled )