Why should I use ASP.NET Membership security model?

前端 未结 9 955
一生所求
一生所求 2020-12-08 05:24

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.

I have looked through the Membership model whic

9条回答
  •  忘掉有多难
    2020-12-08 05:47

    Unless you are the only person who will ever work on this particular site, I think the fact that it is familiar to .NET developers is a good reason to go the built-in Membership route. Other developers with ASP.NET experience can jump into the project and get up to speed on your site's authentication/authorization model very quickly.

    We use the built-in Membership and Role provider model on our site and it works very well...we had to write our own Provider classes, since we use a different backing store for the data (we use Microsoft Dynamics CRM), but these classes are pretty simple and well-documented. By doing this bit of work up front, we can now use the Membership and Roles classes in code as well as the various login-related server controls on our pages.

    Is there another alternative that you are considering?

提交回复
热议问题