问题描述
除了当前登录的用户之外,是否可以用其他身份运行iisexpress应用程序池?
is there a way to run iisexpress app pool under a different identity other than the currently logged in user?
我目前正在使用"runas"命令解决此问题,但我想知道iisexpress是否有内置的东西可以使用.
I am getting around this problem using the "runas" command currently but I would like to know if there is something built-in to iisexpress that I can utilize.
推荐答案
似乎应该可行.在IIS Express网站的applicationhost.config文件中,在<applicationPools>
It looks like this should be possible. In your IIS Express site's applicationhost.config file, there is a <processModel/>
element defined in <applicationPoolDefaults>
under <applicationPools>
<processModel>
元素具有userName
和password
的属性.
来自 MSDN :
这应该允许您使用与登录用户不同的凭据来运行网站.
This should allow you to run the site under different credentials from the logged in user.
这篇关于如何在其他身份下运行iisexpress应用程序池的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!