How you to implement role based security in mvc?
Answer / Shakeel Ahmad
Role-based security can be implemented in MVC using various approaches, such as:
1. Authorization filters for restricting access to specific actions or controllers based on user roles.
2. Customizing the authorization process by overriding built-in methods and implementing custom authentication providers.
3. Using third-party libraries that offer out-of-the-box role-based security features.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is data model in mvc?
What is view engine in mvc?
What is url routing?
Explain the role of "actionfilters" in mvc?
What is the page Lifecycle of the MVC ?
What is dao in mvc?
What is mvc handler?
What is postback in mvc?
What is the difference between adding routes, to a webform application and an mvc application?
Explain what is mvc application life cycle?
Is mvc an api?
What is mvc viewbag?