加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

ASP.NET成员提供程序 – 单一登录

发布时间:2020-12-16 04:06:18 所属栏目:asp.Net 来源:网络整理
导读:我正在考虑将ASP.NET成员资格提供程序用于一些不同的Web应用程序/工具,只需一种登录方法. 要求 User logs in to my.domain.com and sees a list of apps/tools that they have permission to use. The user selects the tool they’d like to use and clicks
我正在考虑将ASP.NET成员资格提供程序用于一些不同的Web应用程序/工具,只需一种登录方法.

要求

User logs in to my.domain.com and sees a list of apps/tools that they have permission to use. The user selects the tool they’d like to use and clicks the link. When the tool opens,it is able to identify that they are currently logged in and who they are to identify any unique permissions to the application.

我知道每个应用程序可以简单地指向相同的后端成员资格提供程序数据库,但每个应用程序是否需要登录,或者它是否能够识别用户是否已经登录?

解决方法

只要ApplicationName相同并且它们指向同一个数据库,每个应用程序都可以使用相同的登录名.

请参阅此处的答案:http://forums.asp.net/t/1322863.aspx了解更多详情.

编辑 – 添加

它也包括在这里:

http://msdn.microsoft.com/en-us/library/ms998347.aspx

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读