User ASP.NET runs under(用户 ASP.NET 运行在)
问题描述
我有点困惑 ASP.NET 是如何运行的,它在什么用户下运行?在 iis 7.5 和 6.0 上
I'm a bit confused about how ASP.NET, what user it runs under? On iis 7.5 and on 6.0
一些我不清楚的用户帐户是
A few of the user accounts that I'm not clear on are
- 网络服务
- IUSR
- 应用程序池
我们将不胜感激任何关于不同用户的说明和安全考虑/等.
Any clarification on the different users would be appreciated and security considerations/etc.
推荐答案
总结:
- IIS 5.1 (Windows XP) - 这是一个本地
ASPNET帐户 - IIS 6 - 默认情况下,应用程序池在
Network Service帐户下运行,该帐户是IIS_WPG组的成员 - IIS 7.0 - 仍然是
网络服务 - IIS 7 SP2/7.5 - 在一个名为
ApplicationPoolIdentity的短暂事物下运行,它映射到一个帐户IIS APPPOOLApplicationPool(例如 IIS APPPOOLDefaultAppPool).此帐户是IIS_IUSRS用户组的成员 - ASP.NET Web 开发服务器 (Cassini) - 这显然是您自己的帐户
- IIS 5.1 (Windows XP) - it's a local
ASPNETaccount - IIS 6 - by default, application pools run under the
Network Serviceaccount which is a member ofIIS_WPGgroup - IIS 7.0 - still
Network Service - IIS 7 SP2 / 7.5 - runs under an ephemeral thing called
ApplicationPoolIdentitywhich maps to an accountIIS APPPOOLApplicationPool(e.g. IIS APPPOOLDefaultAppPool). This account is a member ofIIS_IUSRSuser group - ASP.NET Web Development Server (Cassini) - it's obviously your own account
创建自定义低权限帐户来运行您的应用程序是一种很好的做法,尤其是在 PROD 环境中或当您需要从应用程序访问网络时.
And it's a good practice to create a custom low-privileged account to run your application especially on PROD environment or when you need to access the network from the application.
这篇关于用户 ASP.NET 运行在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:用户 ASP.NET 运行在
基础教程推荐
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- WPF 模态进度窗口 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
