App pool identity versus impersonation identity?(应用程序池身份与模拟身份?)
问题描述
我只找到了一个与此相关的线程,但它没有回答问题.
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.
这篇关于应用程序池身份与模拟身份?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:应用程序池身份与模拟身份?


- 如何用自己压缩一个 IEnumerable 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- 输入按键事件处理程序 2022-01-01