简体   繁体   中英

asp.net roles management

In my Application I have three types of users.(1)anonymous user (2) Members and (3) Admin.

I want to create roles for these users: when a user want to visit the site then he/she may see different Menus like an access control list. And when the user want to access the page or perform some sort of operation, then first its role is checked.

Suppose only admin can have the delete Operation access, so other users cannot see the delete operation or if this is not possible then at least he/she cannot allowed to do this operation.

I used WSAT (website administration tool ) for asp.net application ,but later on I came to know that this not a good technique for production server to manage roles and user. So I want a handsome technique to manage my application users.

Anybody please help .

Is this MVC? If so, have a look at ASP.NET Identity: http://www.asp.net/identity

Also check out the new Thinktecture Identity Manager, which is meant as a better replacement for the WSAT tool.

http://www.hanselman.com/blog/ThinktectureIdentityManagerAsAReplacementForTheASPNETWebSiteAdministrationTool.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM