【问题标题】:In which Account By Default ASP.NET 4.0 Code Execute?默认情况下在哪个帐户中执行 ASP.NET 4.0 代码?
【发布时间】:2012-12-11 05:55:46
【问题描述】:

假设我有一个应用程序可以访问(读/写)文件系统(应用程序内的文件)、Active Directory 和 SQL Server 数据库。我需要授予此帐户的权限,以便他访问这些东西。应用程序池标识为 IIS APPPOOL\ASP.NET v4,启用匿名身份验证(配置为 IUSR),表单身份验证。

【问题讨论】:

    标签: asp.net iis


    【解决方案1】:

    以下是一些不错的链接,您可以通过这些链接了解 iis 用户

    总结:

    IIS 5.1 (Windows XP) - 这是一个本地 ASPNET 帐户
    IIS 6 - 默认情况下,应用程序池在网络服务帐户下运行,该帐户是 IIS_WPG 组的成员
    IIS 7.0 - 仍然是网络服务
    IIS 7 SP2 / 7.5 - 在名为 ApplicationPoolIdentity 的短暂事物下运行,该事物映射到帐户 IIS APPPOOL\ApplicationPool(例如 IIS APPPOOL\DefaultAppPool)。此帐户是 IIS_IUSRS 用户组的成员

    信息来源:-

    User ASP.NET runs under
    What are all the user accounts for IIS/ASP.NET and how do they differ?

    http://www.bluevisionsoftware.com/WebSite/TipsAndTricksDetails.aspx?Name=AspNetAccount

    http://www.iis.net/learn/get-started/planning-for-security/understanding-built-in-user-and-group-accounts-in-iis

    http://imar.spaanjaars.com/287/how-do-i-determine-the-security-account-that-iis-uses-to-run-my-web-site

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-27
    • 1970-01-01
    • 1970-01-01
    • 2017-03-27
    • 1970-01-01
    相关资源
    最近更新 更多