Store/assign roles of authenticated users

前端 未结 5 1819
予麋鹿
予麋鹿 2020-11-27 10:01

I am upgrading a site to use MVC and I am looking for the best way to set up Authentication.

At this point, I have the log-in working off of Active Directory: valida

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 11:01

    I'd be inclined to just create a custom role provider. Example here:

    http://www.danharman.net/2011/06/23/asp-net-mvc-3-custom-membership-provider-with-repository-injection/

提交回复
热议问题