~/talk

Flexible Authorisation with ASP.NET Core 7.0

Talkat NDC Oslo 2023 · 2023-05-22..05-26· [security]
slides:none on file

Shows a working Blazor WebAssembly app on ASP.NET Core that first adds an Auditors role the hard way — edit client nav and pages, update server controllers, deploy — then replaces that with permission‑based control using a bit‑flag permissions enum, permissions stored in a permissions claim, and a dynamic policy provider that generates policies like "permissions:7" at runtime. Includes a UI to assign permissions to roles, a PermissionAuthorizationHandler that enforces checks on server and client, and the demo proves the flexible approach works and reduces code churn.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Overview
  3. 2:50Examples
  4. 7:23Adding a Role
  5. 13:42Flexible Authorisation
  6. 22:39Flexible Authorisation Engine
  7. 26:04Permissions
  8. 28:44Flexible Authorization Policy Provider
  9. 33:49Summary
  10. 35:27Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.