2079 8

NET Centric Computing20795 marksAuthorization

How do you assign roles, claims and policies? Explain with an example.

How do you assign roles, claims and policies? Explain with an example. [5]

Authorization in ASP.NET Core is handled through three main mechanisms: Roles, Claims, and Policies. --- A role is a label assigned to a user that defines what group they belong to (e.g., Admin, User, Manager). Role-based authorization checks whether a user belongs to a specific role before grant...

Up nextWhat types of problems lead to SQL injection attack? Discuss any two types of ASP.Net host