应用程序池身份与模拟身份? [英] App pool identity versus impersonation identity?

查看:32
本文介绍了应用程序池身份与模拟身份?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只找到了一个与此相关的线程,但它没有回答问题.

I found only one thread relating to this but it did not answer the question.

我很好奇通过在 web.config 中设置模拟用户与在 IIS 中设置应用程序池标识之间的区别的链接或解释.他们似乎是独立的,并且对详细的差异感到困惑.谢谢.

I'm curious to a link or explanation of the difference between setting an impersonation user via in the web.config versus setting the application pool identity in IIS. They seem to be independent and am confused on the detailed differences. Thanks.

推荐答案

在 web.config 中使用模拟允许您覆盖为应用程序运行的应用程序池配置的任何身份 - 它只是一种更细粒度的方法控制身份(在应用级别与 ApplicationPool 级别),因此您可以让两个应用在同一个 AppPool 上运行,但其中一个使用模拟来使用另一个身份.

Using impersonation in the web.config allows you to override whatever identity was configured for the Application Pool the app is running under - it's just a more fine grained method to control identity ( on the app level vs. the ApplicationPool level), so you could have two apps run on the same AppPool, but one of them uses impersonation to use another identity.

这篇关于应用程序池身份与模拟身份?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆