
To configure application to use Integrated Windows authentication, it must use IIS Manager to configure application's virtual directory security settings and must configure the <authentication> element in the Web.config file.
To configure Windows authentication:
- First of all from start menu go to control panel.
- Now in control panel click on administrative tools there you will get Internet Information Service (IIS).
- Start Internet Information Services (IIS).
- Right-click on application's virtual directory, and then click Properties.
- Click on the Directory Security tab.
- Under Anonymous access and authentication control, click Edit.
- Make sure the Anonymous access check box is not selected and that Integrated Windows authentication is the only selected check box.
The only step in implementing the Windows Authentication is to set the authentication mode to Windows and deny access to anonymous user in Web.config file as shown below:
<authentication mode="Windows">
...
</authentication>
<authorization>
<deny users="?" />
</authorization>
The "?" means all unauthenticated, anonymous user. It will deny all unauthenticated or anonymous users.
Aspnet Discussion
- - Any idea??
- - How to Encode-Decode URL
- - Change IE settings using
- - Excel problem
- - Example of Server.Transfe




