asp.net - 我应该使用哪一个来表示 "anonymous user identity"? "specific user: IUSR"还是 "application pool identity"?

标签 asp.net iis

在 IIS 管理器中心 Pane 中,有一个标题为“身份验证”的图标,如下所示:

enter image description here

点击图标,我们得到如下3项:

enter image description here

右键单击匿名身份验证并选择编辑,我们有:

enter image description here

问题:我应该使用哪一个?有什么区别?

最佳答案

您基本上是在选择哪个将是匿名用户的身份。您可以选择特定用户,也可以选择应用程序池的身份。使用哪一种取决于您的应用程序。如果您的应用程序需要特定的用户权限或访问权限,那么您可以选择该用户,否则可以使用应用程序池用户。如果不知道您的应用程序是做什么的,就很难以一种或另一种方式引导您。

关于asp.net - 我应该使用哪一个来表示 "anonymous user identity"? "specific user: IUSR"还是 "application pool identity"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4869784/

相关文章:

c# - WCF 客户端证书验证 + Windows 身份验证

asp.net - 在 javascript(或 ASP.NET VB)中获取本地文件夹的内容

c# - 从 C# 中的 DataTable 中删除列

c# - 检查 freetextbox 中的文本是否为空时出错

c# - 根据父元素的值获取xml的子元素

azure - 如何在Azure Web App盒子上执行appcmd?

C#程序员想开发第一个网站

iis - Sitecore:创建新的 <site> 等于具有不同主机名的现有网站会导致 "Layout not found"错误

asp.net - 不使用 httpcontext 获取应用程序路径。 (asp.net)

asp.net - 随机请求网站