Should I use the built-in membership provider for an ASP .NET MVC application?

后端 未结 5 366
醉话见心
醉话见心 2020-12-24 03:40

I\'ve been using a custom membership provider for authentication in all my web form applications till now. I\'m about to start developing my first website using MVC. I\'m

5条回答
  •  一生所求
    2020-12-24 04:00

    If you have to ask, you shouldn't be writing your own provider. Doing security well is really hard. Doing it wrong is incredibly easy.

    But the good news is that what you want is incredibly common, and there are tested, off-the-shelf tools which already do it. An example is Janrain. There are others, too. Use an existing, proven tool whenever possible.

提交回复
热议问题