~/talk

A practical look at security and identity in ASP.NET Core and Entity Framework Core

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [security]
slides:none on file

Shows how ASP.NET Core Identity and EF Core enforce feature and data authorization by turning role assignments into packed enum permissions stored as compact claims, using UserClaimsPrincipalFactory to inject them and onValidatePrincipal with cookie tick checks to renew changed claims. Database isolation uses EF Core global query filters plus an IOwnedBy pattern to stamp owner IDs on SaveChanges and a hierarchical tenant data key for multi-tenant scoping, with feature-module permission stripping for paid add-ons.

AI-written summary · about

  1. 0:00Intro
  2. 2:46Super-quick intro to ASP.NET Core identity
  3. 4:51The limitations of the current roles-based system
  4. 14:24Replacement of Roles-based system - overview
  5. 21:14The Role ToPermissions entity class
  6. 33:12Data level authorization
  7. 33:54Data authorization example: personal data
  8. 34:45Data authorization implementation: DbContext
  9. 46:07The end (useful links)
~/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.