Adam Schroder

Its Schotime.com!

Custom Authorization With Asp.net MVC

The whole advantage with MVC over webforms is extensibility at every point. Extensibility, Extensibility, Extensibility.

Authorization is a very important and every web project has there own needs and requirements. Full customisation is paramount.

Here I will show you a simple way to customise your authorization.

In MVC attributes are used to protect a controller method, so we to get started all we need to do is inherit from the AuthorizeAttribute class.

Click here to see the solution

Happy Coding

Adam

Posted: Feb 17 2009, 09:27 PM by schotime | with 1 comment(s)
Filed under: , ,

Comments

zx-001 said:

Thx a lot. Easy and functional

# May 9, 2011 8:01 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)