在ASP.net中集成登录 [英] Integrated Login in ASP.net

查看:62
本文介绍了在ASP.net中集成登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个集成的登录表单。登录用户标识和密码应与系统/网络登录信息相同,而不是存储在自定义用户表中的信息。在web.config中,我设置如下所示的身份验证:

I want to create an integrated login Form. The login userID and password should be identical with the system/network login info, rather than the info stored in a customized user table. In web.config, I set the authentication like that below:

<system.web>
    <authentication mode="Windows"/>
</system.web>



我不确定这样做可以整合我们的网络。我也不清楚我还应该做些什么。

感谢你能否为我提供一些信息让我深入了解并使其发挥作用。


I am not sure doing this can integrate our network. I am also not clear what else I should do.
Appreciate if you can provide me some info for me to dig into and get it work.

推荐答案

这应该工作。您需要检查的另一件事是服务器管理器是否已安装/启用窗口身份验证模式。我有同样的问题,我发现在IIS服务器上我的窗口身份验证未启用。启用此功能后,您的表单应基于窗口身份验证。
well this should work. the other thing you need to check is on the server manager whether your window authentication mode is installed / enable or not. i had a same issue and i found that on IIS server my window authentication was not enabled. once this is enabled your form should work based on window authentication.


ScottGu的博客解释得非常好 - Recipe:在Intranet ASP.NET Web应用程序中启用Windows身份验证 [< a href =http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx\"target = _blanktitle =新窗口> ^ ]。



我通过简单的 Google搜索'windows login asp.net' [ ^ ]
ScottGu's Blog explains this very well - Recipe: Enabling Windows Authentication within an Intranet ASP.NET Web application[^].

I found this by simple Google search for 'windows login asp.net'[^]


这篇关于在ASP.net中集成登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆