Securing an Existing Virtual Directory with a UNC Path
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
Use the following procedure to further secure an existing 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 secure an existing virtual directory with a UNC path
In IIS Manager, right-click the virtual directory you want to secure, and click Properties.
Click Connect As....
To use delegation to pass the local user's 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 Username and Password boxes blank. Proceed to step 5.
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, clear the Always use the authenticated user's credentials when validating access to the network resource check box, and click Next.
Click OK.
Related Information
- For information about delegation, see "Delegation of Authentication" in Help and Support Center for Windows Server 2003.