如何授权用户只允许c#中的几个页面 [英] How to give permission to users to allow only few pages in c#

查看:55
本文介绍了如何授权用户只允许c#中的几个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai,



我的页面很少。我必须只允许特定用户访问这些页面。如何可能?

Hai,

I am having few pages.I have to give access to the specific users only for allowing those pages.How it is possible?

推荐答案

嘿,检查一下它可以帮到你,



http://www.asp.net/web-forms/tutorials/security/membership/user-based-authorization-cs [ ^ ]



http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs [ ^ ]



http://stackoverflow.com/questions/5184202/how-to-create-pages-with-different-permissions-views [ ^ ]
Hey, Check this it may help you,

http://www.asp.net/web-forms/tutorials/security/membership/user-based-authorization-cs[^]

http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs[^]

http://stackoverflow.com/questions/5184202/how-to-create-pages-with-different-permissions-views[^]


这篇关于如何授权用户只允许c#中的几个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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