Browse by Tags

Related Posts

  • Ways to handle role based ActionLink

    I would like to render part of the navigation in my MVC Beta application based on users role. I have an Action on a Controller that has an AuthorizeAttribute so the action will not be performed unauthorized. But I don't want to display the link to that action unless the user is authorized. I would...
    Posted to ASP.NET MVC (Forum) by HAXEN on 11-05-2008, 12:00 AM
    Filed under: Roles, Authorize, actionlink
  • Re: Authentication in MVC

    [quote user="joaoluizbt"][AcceptVerbs(HttpVerbs.Post), Authorize][/quote] see How to secure applications using authentication and authorization from the NerdDinner tutorial. Your above code only says that users MUST be authenticated to access this controller, if you wanted only certan users...
    Posted to ASP.NET MVC (Forum) by sjnaughton on 09-04-2009, 12:00 AM
    Filed under: MVC, Roles, Authorize
Page 1 of 1 (2 items)