为什么要使用ASP.NET成员的安全模式? [英] Why should I use ASP.NET Membership security model?

查看:177
本文介绍了为什么要使用ASP.NET成员的安全模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我更新我的网站的时刻和人物,如果我更新我的登录/安全模式,现在是一个好时机。

I'm updating my website at the moment and figure that if I am to update my login/security mode, now is a good time.

我已经经历包括在ASP.NET中的会员制模式,但看了看我不相信,它将提供任何好处除了是熟悉的其他.NET开发人员。

I have looked through the Membership model which is included in ASP.NET but I'm not convinced that it will provide any benefit apart from being familiar to other .NET developers.

似乎有不少它的文档,但很少讨论为什么它值得的。

There seems to be quite a lot of documentation for it, but little discussion for why its worth the effort.

任何人都可以提供一些线索在此?

Can anybody shed some light upon this?

推荐答案

我看不出有什么好处是用会员的大型网站。这已被市场作为ASP.Net身份验证的解决方案。然而,实际上它看起来像微软只是想老成员服务器产品定位为soemthing每个人都突然的需求。

I see little benefit to using membership for a large site. This has been marketed as 'the' solution for ASP.Net authentication. However, really it looks like Microsoft is just trying to position the old Membership Server product as soemthing that everyone all of a sudden needs.

我在MSFT大约10年前曾成员服务器上。也是在shop.microsoft.com首席开发人员,我可以告诉你,我们没有使用内部服务器产品在该网站上 - 而不是商业服务器,而不是成员服务器。不知道他们是如何做,现在 - 但我认为在这一点上的普遍共识是,这些类型的包在我们试图做的方式一般有

I worked on Membership Server at Msft around 10 years ago. Was also a lead developer on shop.microsoft.com, and I can tell you we used no internal server products on that site--not commerce server, not membership server. Not sure how they are doing it now--but I think the general consensus at that point was that those type of packages generally got in the way of what we were trying to do.

这可能为一个较小的网站是有用的,或者如果您已经有限的资源......也就是几百个用户的部门或小公司的Intranet,在那里你不想投入太多的时间和资源。更我看着它,它就越显得较大,自定义网站完全不合适的。

It could be useful for a smaller site, or if you have limited resources... i.e. a few hundred users for a departmental or small company intranet, where you don't want to invest much time or resources. The more I look at it, the more it seems completely inappropriate for larger, custom web sites.

我真的不明白的是几乎每一个ASP.Net的书怎么好像推以此为做到这一点的唯一途径,而不是做这件事。

What I really don't understand is how almost every ASP.Net book seems to push this as the only way to do it, rather than one way to do it.

这篇关于为什么要使用ASP.NET成员的安全模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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