What are some common ways to make simple user login (account login)?
In addition, can you have different authentication schemes per area?
Edit
I am creating an ecommerce site for which the user needs to be protected actions, how to go about doing this one ? This will only require certified users to be able to access their information.
You have several options when it comes to authentication in MVC3:
Ul>
Built-in form authentication allows you to limit access to different areas of your application based on the user-role, among other things. It is quite easy to apply lava and specialty to use.
The user will need to log in at:
[Authorize] Public Functional Your ActionMemesis () {} [authorized (roles = "administrator")] Public Tasks For Your Assistant Names Here () {} Here are a few ways to complete this, as you can see Te that some it different ways to complete - I hope that it can give a little light to help you decide.
Comments
Post a Comment