IIS Application Directories
Labs and samples that require you to set up an IIS application directory (also called a virtual directory) will provide you with a .vbs script to run, usually in the root of the solution. In some cases, however, you will create a new web site in IIS using Visual Studio. Depending on your default settings in IIS, it is possible that Windows Integrated Authentication may not be enabled for the application directory. This section explains how to accomplish this for IIS 5.1/6.0 and IIS 7.0.
Instructions for IIS 5.1 and 6.0
The following are explicit instructions for enabling Integrated Windows Authentication for virtual application directories in IIS 5.1. IIS 6.0 follows similar instructions.
Open the console for IIS from Control Panel → Administrative Tools.
Select the web site or application directory to configure and edit its properties.
From the properties dialog, select the Security tab.
Check the Integrated Windows Authentication checkbox and save the changes.
Instructions for IIS 7.0
Follow these instructions to enable Integrated Windows Authentication for virtual application directories in IIS 7.0.
Open the console for IIS from Control Panel → Administrative Tools.
Select the web site or application directory to configure and find the Authentication feature.
From the Authentication feature, enable Windows Authentication.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access