Export (0) Print
Expand All

Securing a Virtual Directory

Updated: August 22, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

You can configure access permissions when you create a virtual directory.

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".


To create a secure virtual directory mapped to resources on the local computer
  1. In IIS Manager, expand the local computer, expand the Web Sites folder, right-click the Web Site or folder within which you want to create the virtual directory, point to New, and then click Virtual Directory.

  2. Click Next.

  3. In the Alias box, type the alias for the new virtual directory, and then click Next.

  4. In the Path box, type the path to the local directory, and then click Next.

  5. Select the appropriate check boxes for the access permissions you want to allow, and clear the check boxes for the permissions you want to deny.

  6. Click Next to complete the wizard.

Related Information

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft