asp.net mvc 3 - Allow a controller method from a non-logged user -



asp.net mvc 3 - Allow a controller method from a non-logged user -

i have controller every method should restricted role=admin class instantiates with:

[authorize(roles = admin)]

every method takes on check. know can override attribute method method permit other user roles i'd remove authorization check 1 of methods in class.

what's syntax that?

thx

here 1 approach may work: what's best way protect actions controller except 1 (login)?

asp.net-mvc-3 authorize-attribute

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -