Learn how to authorize varying levels of access and add layers of security to your ASP.NET Core applications.
Overview
Syllabus
Introduction
- Securing ASP.NET Core apps with authorization
- What you should know
- What is authorization?
- ASP.NET Core authorization types
- ASP.NET Core authorization namespaces
- Authorize and AllowAnonymous attributes
- Adding role checks
- Policy-based role checks
- Adding claims checks
- Authorization policy requirements
- Working with authorization handlers
- Analyzing handler results
- Using a func to fulfill a policy
- Custom authorization attributes
- Using custom IAuthorizationPolicyProvider
- Default policy
- Using imperative authorization
- Writing a resource-based handler
- Injecting and using authorization in a view
- Next steps
Taught by
Ervis Trupja