是否使用本地工作组为ASP.NET设置windows身份验证?

是否使用本地工作组为ASP.NET设置windows身份验证?,asp.net,iis,webserver,windows-authentication,workgroup,Asp.net,Iis,Webserver,Windows Authentication,Workgroup,我需要为我们的web应用程序构建windows身份验证。我们计划创建本地工作组(在Windows 2008 Server上)来管理用户,而不是Active Directory。我们的理由是,创建群组和通过广告移动用户需要几个月的时间(我们的客户希望我们走这条路)。是否可以为asp.net应用程序设置windows身份验证,并根据本地工作组验证用户凭据?请记住,我们会尝试将他们的登录名与本地工作组匹配。您可以使用AspNetWindowsTokenRoleProvider。这使ASP.net使用W

我需要为我们的web应用程序构建windows身份验证。我们计划创建本地工作组(在Windows 2008 Server上)来管理用户,而不是Active Directory。我们的理由是,创建群组和通过广告移动用户需要几个月的时间(我们的客户希望我们走这条路)。是否可以为asp.net应用程序设置windows身份验证,并根据本地工作组验证用户凭据?请记住,我们会尝试将他们的登录名与本地工作组匹配。

您可以使用AspNetWindowsTokenRoleProvider。这使ASP.net使用Windows本地组

在您的web配置中,执行以下操作

<authentication> section enables configuration 
                of the security authentication mode used by 
                ASP.NET to identify an incoming user. 
            -->         <authentication mode="Windows"/>         
<identity impersonate="false"/>

            <authorization>

              </authorization> 
<roleManager enabled="true"
                 defaultProvider="AspNetWindowsTokenRoleProvider"/>
重定向(Request.ApplicationPath&“\logout.html”)

您可以从Microsoft的此链接中阅读更多内容
在使用WindowsTokenRoleProvider下,您可以使用AspNetWindowsTokenRoleProvider。这使ASP.net使用Windows本地组

在您的web配置中,执行以下操作

<authentication> section enables configuration 
                of the security authentication mode used by 
                ASP.NET to identify an incoming user. 
            -->         <authentication mode="Windows"/>         
<identity impersonate="false"/>

            <authorization>

              </authorization> 
<roleManager enabled="true"
                 defaultProvider="AspNetWindowsTokenRoleProvider"/>
重定向(Request.ApplicationPath&“\logout.html”)

您可以从Microsoft的此链接中阅读更多内容
在使用WindowsTokenRoleProvider下,您可以使用AspNetWindowsTokenRoleProvider。这使ASP.net使用Windows本地组

在您的web配置中,执行以下操作

<authentication> section enables configuration 
                of the security authentication mode used by 
                ASP.NET to identify an incoming user. 
            -->         <authentication mode="Windows"/>         
<identity impersonate="false"/>

            <authorization>

              </authorization> 
<roleManager enabled="true"
                 defaultProvider="AspNetWindowsTokenRoleProvider"/>
重定向(Request.ApplicationPath&“\logout.html”)

您可以从Microsoft的此链接中阅读更多内容
在使用WindowsTokenRoleProvider下,您可以使用AspNetWindowsTokenRoleProvider。这使ASP.net使用Windows本地组

在您的web配置中,执行以下操作

<authentication> section enables configuration 
                of the security authentication mode used by 
                ASP.NET to identify an incoming user. 
            -->         <authentication mode="Windows"/>         
<identity impersonate="false"/>

            <authorization>

              </authorization> 
<roleManager enabled="true"
                 defaultProvider="AspNetWindowsTokenRoleProvider"/>
重定向(Request.ApplicationPath&“\logout.html”)

您可以从Microsoft的此链接中阅读更多内容 在下使用WindowsTokenRoleProvider