Reputation: 1929
suppose i have a forms authentication in my application. once authenticated, it can access certain folders / controllers in my website
auth level 1 -> profile,history,change password
but, certain users can access another part of site if they pass level 2 . this type of users are like resellers (like sellers of accounts, etc)
auth level 2 -> sell accounts, view online users
the question is, how can i implement this another forms authentication in mvc 3 app? can these 2 form authentication coexist? tnx
Upvotes: 0
Views: 387
Reputation: 106
Surely you only need the one auth method.
What you are describing sounds like you want to implement "roles". I dont understand why you need 2 form authentication processes.
http://www.asp.net/mvc/tutorials/authenticating-users-with-forms-authentication-cs https://web.archive.org/web/20211029043732/https://www.4guysfromrolla.com/articles/082703-1.aspx
Upvotes: 2