登录演示 [英] login demo

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

问题描述

以Asp.net中的登录演示示例为例,我们可以添加普通用户和管理员,还可以授予角色管理权限,从而可以访问特定用户的页面.

give the Example of Login Demo in Asp.net we can add normal user and administrator and also role management we can give the authority to access we page to perticular user.

推荐答案

成员资格,身份验证和授权在ASP.NET中是免费的".

登录 [身份验证 [授权 [ http://www.codeproject.com/KB/aspnet/ASPDOTNETauthentication.aspx?fid=1581925&df=90&mpp=10&noise=5&sort=Position&view=Expanded&fr=21 [ http://www.codeproject.com/KB/web-security/FormAuthenticnAuthorizn.aspx [ ^ ]

干杯.
Membership, authentication and authorization are "free" in ASP.NET.

Login[^].

Authentication[^].

Authorization[^].

There are many articles on it, including here on CP.

http://www.codeproject.com/KB/aspnet/ASPDOTNETauthentication.aspx?fid=1581925&df=90&mpp=10&noise=5&sort=Position&view=Expanded&fr=21[^]


http://www.codeproject.com/KB/web-security/FormAuthenticnAuthorizn.aspx[^]

Cheers.


您有两个选择.viz:
a)使用asp.net成员身份和角色
b)创建自己的


使用asp.net的成员资格和角色非常容易.要创建登录表单,只需添加一个新的新.aspx页,然后从工具箱中的登录"选项卡中拖放登录"控件即可.

要创建角色和用户(也是管理员),只需单击Visual Studio IDE的网站"选项卡下的"ASP.NET配置"子菜单.
单击上面提到的子菜单会打开一个GIU,使您可以执行所需的所有操作.

快乐编程:-D

有关更多详细信息,您可以参考"wrox professional asp.net 2.0"这本书
随时再问.
you have two option.viz:
a) use asp.net membership and role
b) create your own


using asp.net membership and role is very easy. To create login form ,just add a new new .aspx page and drag drop Login control from the login tab located in the toolbox.

To create roles and user (also the administrator ), just click the "ASP.NET Configuration" sub menu under the Website tab of the Visual Studio IDE.
clicking the above mentioned submenu opens a GIU that enables you to do all the things you asked for.

Happy Programming :-D

For furthwe details, u can refer the book "wrox professional asp.net 2.0"
feel free to ask again.


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

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