Browse by Tags

Related Posts

  • Re: Routing defaults and authorization

    Hi Crawford.r, form authentication will not work with routed views as they donot exist in a phyical location on the file system i.e. ~/Home/about there is no page that matches this path on the file system. you need to use the [Authorize] attribute on your Controllers or Actions, see How to secure applications...
    Posted to ASP.NET MVC (Forum) by sjnaughton on 08-17-2009, 12:00 AM
    Filed under: MVC, Authorize
  • Re: MVC Authorize Filter without passing the querystring argument

    You could write your own Authize filter that redirects to the login page without a redirect path or you could embed the path as a parameter to the Account controllers LogOn action so your url would look like this: /Account/LogOn/%2fDinners%2fCreate and you would need a route adding to your routing table...
    Posted to ASP.NET MVC (Forum) by sjnaughton on 08-26-2009, 12:00 AM
    Filed under: MVC, Authorize
  • 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 (3 items)