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 运行在
基础教程推荐
- 是否可以在 asp classic 和 asp.net 之间共享会话状态 2022-01-01
- 从 VS 2017 .NET Core 项目的发布目录中排除文件 2022-01-01
- 全局 ASAX - 获取服务器名称 2022-01-01
- 首先创建代码,多对多,关联表中的附加字段 2022-01-01
- 将事件 TextChanged 分配给表单中的所有文本框 2022-01-01
- 错误“此流不支持搜索操作"在 C# 中 2022-01-01
- JSON.NET 中基于属性的类型解析 2022-01-01
- 在 VS2010 中的 Post Build 事件中将 bin 文件复制到物 2022-01-01
- 如何动态获取文本框中datagridview列的总和 2022-01-01
- 经典 Asp 中的 ResolveUrl/Url.Content 等效项 2022-01-01
