zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    ASP.NET实现文件下载的功能
    优先队列的使用
    关于CSS设置样式的一点建议
    ASP.NET后台弹出消息的方法
    创建漂亮的 CSS 按钮的 10 个代码片段(转载)
    2020高考游记
    最后的OI(HAOI2020游记)
    2020 2 2 20 20
    祭最后的亡魂
    一个感人至深的故事
  • 原文地址:https://www.cnblogs.com/top5/p/2807406.html
Copyright © 2011-2022 走看看