ASP.NET 中基于角色的窗体身份验证的研究
2005-12-31 15:13
661 查看
基本概念:
IPrincipal:定义用户对象的基本功能
实现者:
GenericPrinciple 类
属性:
Identity: GenericIdentity
方法:
IsInRole()
WindowsPrincipal 类
GenericIdentity 类:
表示一般用户。代表特定用户的标识对象,代码当前即以该用户的名义运行。
属性:
AuthenticationType: 获取用于标识用户的身份验证的类型。
IsAuthenticated: 指示是否验证了用户。
Name: 获取用户的名称。
IIdentity 接口:
定义标识对象的基本功能。
实现者:
FormsIdentity
GenericIdentity
PassportIdentity
WindowsIdentity
关于实现方法的一些参考文章:
Role-based Security with Forms Authentication
http://www.codeproject.com/aspnet/formsroleauth.asp
Efficient Role-based Authentication in ASP.NET
http://www.pluralsight.com/articlecontent/efficientRoleBasedAuthentication.pdf
Cookieless ASP.NET forms authentication
http://www.codeproject.com/aspnet/cookieless.asp
Forms Authentication Tutorial
http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=85
Using Forms Authentication in ASP.NET
http://www.4guysfromrolla.com/webtech/110701-1.shtml
Using Forms Authentication in ASP.NET - Part 1
http://www.15seconds.com/issue/020220.htm
IPrincipal:定义用户对象的基本功能
实现者:
GenericPrinciple 类
属性:
Identity: GenericIdentity
方法:
IsInRole()
WindowsPrincipal 类
GenericIdentity 类:
表示一般用户。代表特定用户的标识对象,代码当前即以该用户的名义运行。
属性:
AuthenticationType: 获取用于标识用户的身份验证的类型。
IsAuthenticated: 指示是否验证了用户。
Name: 获取用户的名称。
IIdentity 接口:
定义标识对象的基本功能。
实现者:
FormsIdentity
GenericIdentity
PassportIdentity
WindowsIdentity
关于实现方法的一些参考文章:
Role-based Security with Forms Authentication
http://www.codeproject.com/aspnet/formsroleauth.asp
Efficient Role-based Authentication in ASP.NET
http://www.pluralsight.com/articlecontent/efficientRoleBasedAuthentication.pdf
Cookieless ASP.NET forms authentication
http://www.codeproject.com/aspnet/cookieless.asp
Forms Authentication Tutorial
http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=85
Using Forms Authentication in ASP.NET
http://www.4guysfromrolla.com/webtech/110701-1.shtml
Using Forms Authentication in ASP.NET - Part 1
http://www.15seconds.com/issue/020220.htm
相关文章推荐
- ASP.NET 中基于角色的窗体身份验证的研究
- 如何使用 C# .NET 在 ASP.NET 应用程序中实现基于窗体的身份验证
- [.NET 基于角色安全性验证] 之三:ASP.NET Forms 身份验证
- 探索ASP.NET Identity 身份验证和基于角色的授权,中级篇
- ASP.Net:基于窗体的身份验证
- asp.net mvc3.0通过窗体进行用户的验证(基于角色)
- ASP.NET MVC:窗体身份验证及角色权限管理示例
- ASP.NET MVC:窗体身份验证及角色权限管理示例
- asp.net中使用基于角色的身份Forms验证 (2)
- ASP.Net 身份验证方法 基于角色的Forms认证步骤 [转]
- ASP.NET MVC:窗体身份验证及角色权限管理示例 .
- [.NET 基于角色安全性验证] 之二:ASP.NET Forms 身份验证流程分析
- asp.net中使用基于角色的身份Forms验证 (2)
- Asp.Net Forms身份验证和基于角色的权限访问
- ASP.Net:基于窗体的身份验证
- ASP.net基于窗体的身份验证
- ASP.NET MVC 随想录——探索ASP.NET Identity 身份验证和基于角色的授权,中级篇
- [.NET 基于角色安全性验证] 之三:ASP.NET Forms 身份验证
- asp.net中使用基于角色的身份Forms验证 (3)
- ASP.NET MVC:窗体身份验证及角色权限管理示例