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

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -