Pergi ke luar talian dengan aplikasi Player FM !
Podcast Berbaloi untuk Didengar
DITAJA


Managing granular authorisation in .NET, with Ryan Rowston
Manage episode 400339119 series 1329529
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:
68 episod
Manage episode 400339119 series 1329529
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:
68 episod
Semua episod
×
1 .NET Development in 2025 + InstallFest!, with David Gardiner 53:58

1 Testing with SpecFlow, with Stephen Nield and Rich Moran 1:08:23

1 10 tips and tricks for GitHub Actions and Azure DevOps, with David Gardiner 1:20:38

1 The different ways you can join your code together, with Calvin Fong 1:05:41

1 Extending Microsoft Copilot with .NET, with Daniel Brown 1:14:54

1 OpenTelemetry: Adding observability to any Microservices environment, with Glenn Versweyveld 1:03:03

1 Building a Microsoft Teams app to replace email, with Ben Smit and Matthew Astachnowicz 1:04:27

1 Boosting Developer Experience, with Sam Fernando 1:15:02

1 Connectivity for IoT devices anywhere in the world, with Bryn Lewis 32:59

1 Down the Oregon Trail with Functional C#, with Simon J. Painter 1:24:52

1 Revolutionizing Online Retail with Blazor, with James Chapman-Smith and Donald Urquhart 1:40:40

1 Managing granular authorisation in .NET, with Ryan Rowston 1:04:36

1 ChatGPT Client with Blazor, GraphQL, .NET and Azure OpenAI Service, with John Merchant 1:19:52

1 From Code to Production - Building .NET Natively on AWS, with Derek Bingham 1:13:56
Selamat datang ke Player FM
Player FM mengimbas laman-laman web bagi podcast berkualiti tinggi untuk anda nikmati sekarang. Ia merupakan aplikasi podcast terbaik dan berfungsi untuk Android, iPhone, dan web. Daftar untuk melaraskan langganan merentasi peranti.