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
ASPNET
account - IIS 6 - by default, application pools run under the
Network Service
account which is a member ofIIS_WPG
group - IIS 7.0 - still
Network Service
- IIS 7 SP2 / 7.5 - runs under an ephemeral thing called
ApplicationPoolIdentity
which maps to an accountIIS APPPOOLApplicationPool
(e.g. IIS APPPOOLDefaultAppPool). This account is a member ofIIS_IUSRS
user 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 运行在


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