基于角色的授权 [英] Role based authorisation

查看:78
本文介绍了基于角色的授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai朋友,



我对基于角色的授权有疑问。



如果我们想要拒绝用户访问特定分页的方法.Plz帮助我



提前谢谢。

Hai friends,

I have a doubt regarding Role based authorisation.

If we want to deny users to access specific paged how it can be done.Plz help me

Thanks in advance.

推荐答案

检查: http://blog.osbornm.com / 2010/07/21 / using-simplemembership-with-asp-net-webpages / [ ^ ]


正如解决方案1建议我建议您使用 ASP .Net会员和角色管理。它很容易实现。请在CP上查看以下主题:

如何在asp.net中设置页面级别权限#? [ ^ ]

asp.net会员提供商 [ ^ ]

如何使用验证和授权创建登录页面?? [< a href =http://www.codeproject.com/Answers/432392/How-to-create-the-login-page-by-using-authencation#answer1target =_ blanktitle =New Window> ^ ]

< a href =http://www.codeproject.com/Answers/393135/Membership-and-Role-Management#answer3>会员和角色管理 [ ^ ]

asp.net会员提供商 [ ^ ]



祝你好运,

OI
As solution 1 suggests I would recommend you using ASP.Net Membership and Role Management. It is easy to implement. Please check the following threads here on CP:
how to set page level permission in asp.net c#?[^]
asp.net membership provider[^]
How to create the login page by using authencation and authorization....?[^]
Membership and Role Management[^]
asp.net membership provider[^]

Good luck,
OI


这篇关于基于角色的授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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