C C T B H P N

Lab #11 - Authorization Lab

Lab is due before Sunday, 4/5/2019, midnight

Lab Resources:

Vaibhav's Lab Presentation and Code:
Authentication and Authorization
Roles and Authentication Details code demo Tutorials:
Custom user roles
Policy-based authorization
Role-based Authorization - C# Corner
Asp.Net Core Identity
User data protected by authorization
References:
Role-based authorization - MSDN
Create roles and assign to users - StackOverflow
Securing Asp.Net Core 2.0 Apps with Jason Web Tokens (JWTs)

Content:

Final Exam Schedule In this lab you partition your project into public and private areas.
  1. Extend your Lab 10 solution by adding Authentication and Authorization
  2. Define an admin role and require that role to delete information from your application table(s)
  3. For non-admin users hide the delete action link in your view(s)

Please zip your Lab #11 folder and Submit Lab. Note: just zip, no rar, tar, ...