role-based

Role-based access control (RBAC) vs. Claims-based access control (CBAC) in ASP.NET MVC

穿精又带淫゛_ 提交于 2019-11-26 17:53:21
问题 What are the main benefits of using CBAC vs. RBAC? When is it better to use CBAC and when is it better to use RBAC? I'm trying to understand the general concepts of the CBAC model but the general idea is still not clear for me. 回答1: I will try to show how you can benefit from Claim Based Access Control in an ASP.NET MVC Context. When you are using Role based authentication, if you have an action for creating customer and you want that the people who are in 'Sale' role should be able to do