1 tim. 4 min

Managing granular authorisation in .NET, with Ryan Rowston Adelaide .NET User Group Podcast

    • Teknologi

We have a challenge: Modern day administrators want to keep a tight rein on who can perform different actions in their systems. Join us and learn how we've evolved our authorisation patterns to grant highly granular permissions to different users, while maintaining developer-friendly patterns in code. In this talk I'll explain how we've approached this challenge, including: How we've encoded discreet permission levels as bits in a 64-bit integer using a .NET flags enum. How we've used an extended Authorize attribute to allow for developer to add authorisation in one line to API controllers/endpoints. How we've enabled dynamic policy generation to account for the potentially quintillions of unique permission combinations that this enables. Links: Ryan on LinkedIn

We have a challenge: Modern day administrators want to keep a tight rein on who can perform different actions in their systems. Join us and learn how we've evolved our authorisation patterns to grant highly granular permissions to different users, while maintaining developer-friendly patterns in code. In this talk I'll explain how we've approached this challenge, including: How we've encoded discreet permission levels as bits in a 64-bit integer using a .NET flags enum. How we've used an extended Authorize attribute to allow for developer to add authorisation in one line to API controllers/endpoints. How we've enabled dynamic policy generation to account for the potentially quintillions of unique permission combinations that this enables. Links: Ryan on LinkedIn

1 tim. 4 min

Mest populära poddar inom Teknologi

SvD Tech brief
Svenska Dagbladet
Lex Fridman Podcast
Lex Fridman
The TED AI Show
TED
Acquired
Ben Gilbert and David Rosenthal
AI Sweden Podcast
AI Sweden
AI-podden
Ather Gattami