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.
这篇关于应用程序池身份与模拟身份?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:应用程序池身份与模拟身份?
基础教程推荐
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- WPF 模态进度窗口 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
