Developing Flexible Authorisation Capabilities in ASP NET Core
summary
Demonstrates a working permissions-based authorization system for ASP.NET Core + Blazor WebAssembly that replaces role-hardcoding with a permissions enum with Flags, a dynamic policy provider that builds policies like "permissions7" on demand, and a permission claim storing an integer. Adding an Auditor role and a new permission happens via UI (no code deploy) in the demo, authorization checks use bitwise AND, and the prototype supports 32 flags (64 if using long) and a custom Authorized attribute.
AI-written summary · about
chapters (5)
- 0:00Start
- 1:09Introduction
- 5:56Authorization in Blazor WebAssembly
- 19:57Flexible Authorization - Engine
- 20:51Code Walkthrough
related talks
47mDeveloping Flexible Authorisation Capabilities in ASP.NET Core
36mFlexible Authorisation with ASP.NET Core 7.0
56mImplementing authorization in web applications and APIs
57mAuthentication and Authorization in Blazor
01h 07mGetting Authorization Right in .NET: Patterns, Pitfalls...
58mImplementing Authorization in Web Applications and APIs
54mAuthorization for modern Applications
57mA practical look at security and identity in ASP.NET Core and Entity Framework Core
