Artwork

محتوای ارائه شده توسط David Gardiner and Adelaide .NET User Group / David Gardiner. تمام محتوای پادکست شامل قسمت‌ها، گرافیک‌ها و توضیحات پادکست مستقیماً توسط David Gardiner and Adelaide .NET User Group / David Gardiner یا شریک پلتفرم پادکست آن‌ها آپلود و ارائه می‌شوند. اگر فکر می‌کنید شخصی بدون اجازه شما از اثر دارای حق نسخه‌برداری شما استفاده می‌کند، می‌توانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal
Player FM - برنامه پادکست
با برنامه Player FM !

Managing granular authorisation in .NET, with Ryan Rowston

1:04:36
 
اشتراک گذاری
 

Manage episode 400339119 series 1329529
محتوای ارائه شده توسط David Gardiner and Adelaide .NET User Group / David Gardiner. تمام محتوای پادکست شامل قسمت‌ها، گرافیک‌ها و توضیحات پادکست مستقیماً توسط David Gardiner and Adelaide .NET User Group / David Gardiner یا شریک پلتفرم پادکست آن‌ها آپلود و ارائه می‌شوند. اگر فکر می‌کنید شخصی بدون اجازه شما از اثر دارای حق نسخه‌برداری شما استفاده می‌کند، می‌توانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal

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:

  continue reading

67 قسمت

Artwork
iconاشتراک گذاری
 
Manage episode 400339119 series 1329529
محتوای ارائه شده توسط David Gardiner and Adelaide .NET User Group / David Gardiner. تمام محتوای پادکست شامل قسمت‌ها، گرافیک‌ها و توضیحات پادکست مستقیماً توسط David Gardiner and Adelaide .NET User Group / David Gardiner یا شریک پلتفرم پادکست آن‌ها آپلود و ارائه می‌شوند. اگر فکر می‌کنید شخصی بدون اجازه شما از اثر دارای حق نسخه‌برداری شما استفاده می‌کند، می‌توانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal

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:

  continue reading

67 قسمت

همه قسمت ها

×
 
Loading …

به Player FM خوش آمدید!

Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.

 

راهنمای مرجع سریع

در حین کاوش به این نمایش گوش دهید
پخش