阅读 75

IIS6.0中,使用其它用户运行IIS

  • Read


    %INSTALLROOT%\ASP.NET Temporary Files

    Read and Write

    Note   %INSTALLROOT% is of the form D:\WINDOWS\Microsoft.NET\Framework\v1.0.3705 and %WINDIR% is of the form D:\WINDOWS.

    Enabling ASP.NET to run as another user on Windows Server 2003

    With Windows Server 2003 and IIS 6, there is a new feature named application pools. Each pool can be configured to run as a different user, provided that user has membership in the IIS_WPG group. Virtual roots can be added to an application pool, and the debugger will then be able to attach to it if the pool is running as the same user that launched the debugger. This mechanism provides an easy way to set up an alternate execution environment, safely protect user credentials, and set up additional virtual roots.

    Adding and Configuring an Application Pool

    1.                  Run the Management Console compmgmt.msc as an administrative user.

    2.                  Expand the Services and Applications node to display the Internet Information Services, and Application Pools nodes.

    3.                  Right-click the Application Pools node, choose New, and then choose Application Pool.

    4.                  Type the name for the Application Pool and click OK.

    5.                  Right-click on the new Application Pool and choose Properties.

    6.                  Under the Identity tab, choose the Configurable option.

    7.                  In the corresponding boxes, enter the User name and Password that you will be running the debugger with and click OK.

    Note   This account must be a member of the IIS_WPG group and have the access permissions listed above in order to run ASP.NET applications.

    Setting a Virtual Root to run in an Application Pool

    1.                  Run the Management Console compmgmt.msc as an administrative user

    2.                  Expand the Services and Applications node to display the Internet Information ServicesWeb Sites, and Default Web Site nodes.

    3.                  Expand the Default Web Sites node to display all of the virtual roots available.

    4.                  Right-click on the virtual root to configure and choose Properties.

    5.                  On the Virtual Directory tab, change the Application Pool drop-down to select the application pool running with the appropriate user identity and click OK.

  • 相关阅读:


文章分类
代码人生
版权声明:本站是系统测试站点,无实际运营。本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 XXXXXXo@163.com 举报,一经查实,本站将立刻删除。
相关推荐