ASP.Net成员资格的优缺点 [英] Advantages and disadvantages of ASP.Net Membership

查看:78
本文介绍了ASP.Net成员资格的优缺点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用ASP.NET默认会员资格的优点和缺点是什么?

我们可以为项目添加自定义成员资格吗?

解决方案

有一些缺点,但我猜这些字段的名称只对sql注入攻击有帮助,但即使没有字段名,也会出现同样的问题。默认情况下,密码在提供的初始版本中加密。我宁愿说通过角色提供的功能等其他缺点在某种程度上是固定的,并且扩展它并不是非常容易。也许稍后可以提供更多功能。我会说会员资格是一项非常必要的功能,如果您决定使用ASP.Net,则没有什么不足之处。如果一个人使用会员资格功能,会员控制是合乎逻辑的选择。只需检查您需要为用户提供多少自定义功能,以及如何创建不同类型的角色以满足您的需求并做出选择。还要记住,在用户创建自定义控件之后修改成员资格控件会更容易。





请参考此



什么-是最缺点-的-使用-书面方式-A-净定制会员制提供商

What is the Advantages and Disadvantages of using ASP.NET''s default Membership?
Can we add custom Membership to our project?

解决方案

There are a few disadvantages but i guess names of the fields would only be helpful in case of sql injection attacks, but even without field names, the same problems arise. Passwords are by default encrypted in the initial version provided. I would rather say that other disadvantages like the functionality provided in through roles is somewhat fixed and extension of the same is not extremely easy. Maybe more functionality can be provided later. I would say that membership has been a much required functionality and there is little disadvantage if you have decided to use ASP.Net. In case one is using membership features, membership control is the logical choice. Just check how much customized functionality you need to give to the users and how creation of different types of roles will serve your needs and make the choice. Also remember it will be far easier to modify membership controls at a later date than user created customized controls.


please refer this

what-are-the-disadvantages-of-using-writting-a-net-custom-membership-provider


这篇关于ASP.Net成员资格的优缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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