IIS_IUSRS 和 IUSR 有什么区别?

What's the difference between IIS_IUSRS and IUSR?

IIS_IUSRS 和 IUSRS 有什么区别?当我向 web.config 授予 IUSR 权限时它起作用了,但当我向 IIS_IUSRS.

授予权限时它不起作用

Microsoft 的文档 Understanding Built-In User and Group Accounts in IIS 7 解释得很好。

In summary, IIS 7 and above offer the following:

  • The IUSR built-in account replaces the IUSR_MachineName account.
  • The IIS_IUSRS built-in group replaces the IIS_WPG group.

我注意到的一件事是,为了从 url 下载 pdf 文件,我需要将安全权限设置为 iis_iusrs,而不是 iusr。