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 运行在
基础教程推荐
- Mono https webrequest 失败并显示“身份验证或解密失败" 2022-01-01
- 获取C#保存对话框的文件路径 2022-01-01
- 从 C# 控制相机设备 2022-01-01
- SonarQube C# 分析失败“不是指针的有效行偏移" 2022-01-01
- 重新排序 WPF TabControl 中的选项卡 2022-01-01
- 将数据集转换为列表 2022-01-01
- 更新 Visual Studio 中的 DataSet 结构以匹配新的 SQL 数据库结构 2022-01-01
- 在 VB6 或经典 ASP 中使用 .NET 2022-01-01
- 如果条件可以为空 2022-01-01
- C# 9 新特性——record的相关总结 2023-04-03
