Hi,
I am making a program in ASP.NET MVC where I was facing problem in authentication and authorization process. How can I implement it in ASP.NET MVC as I implement it in ASP.NET.
Thanks,
Authentication and authorization in asp.net mvc
303313-Dec-2011
Updated on 14-Dec-2011
James Smith
14-Dec-2011Hey Jenry,
You can use [Authorize(Roles = "DefaultUser")]attribute to authorize perticular user on controller methods.
For implementing authentication you can take a look of this sample application
http://www.mindstick.com/Beginner/F769698F-FED6-43EB-8E61-D7BAAF713819/MVC/Login%20and%20Registration%20Form%20in%20ASP%20Net%20MVC/
Thanks