authorization - ASP.NET: Own implementation of IsInRole -
authorization - ASP.NET: Own implementation of IsInRole -
sorry english.
is possible override logic isinrole in asp.net? utilize own tables of roles in database , know how utilize own logic.
something inheriting principialbase. maybe know ways?
i utilize roleprovider if using other aspects of asp.net authentication , authorization management. however, if have own database storing role info , have ui managing user roles, can away creating genericprincipal roles , replacing httpcontext.current.user during postauthenticaterequest (for asp.net).
mvc different, depending on how managing authorization. here related question.
application role management in asp.net mvc (how)?
it improve load roles user 1 time per request check roles against database multiple times during request.
asp.net authorization roles
Comments
Post a Comment