Creating a Virtual Directory with a UNC Path (IIS 6.0)

Use the following procedure to create a secure virtual directory with a UNC path.
Important
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".
Procedures
To create a secure virtual directory with a UNC path
1.In IIS Manager, expand the local computer, expand the Web Sites folder, right-click a Web site, Web application, directory, or 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 click Next.
4.In the Path box, type the path to the directory on the UNC share, and click Next.
5.The Virtual Directory Creation Wizard recognizes the path format as UNC and the User Name and Password dialog box appears.
6.To impersonate the requested user credentials to the remote computer, select the Always use the authenticated user's credentials when validating access to the network resource check box and leave the User name and Password boxes blank. Click Next and proceed to step 8.
7.To secure the virtual directory and share with a static user name and password, specify the user name as Domain\username in the User name box, specify a password in the Password box, and clear the Always use the authenticated user's credentials when validating access to the network resource check box.
8.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.
9.Click Next to complete the wizard.

你可能感兴趣的:(Directory)