Understanding the concepts of access control [The Confused Developer]

  Рет қаралды 12,107

OktaDev

OktaDev

Күн бұрын

Permissions, privileges, and scopes in the context of authorization, access control, and delegated authorization - what's the difference? Understanding the basics will help you better communicate a system's needs, and design solutions that minimize bad surprises.
Access control is a complex thing. It involves users, resources, and applications, and you have to set it up properly to prevent bad surprises. However, setting up access control is not just a matter of writing code or configuring a system. It includes (or better, it relies on) understanding a few basic concepts. Things can get even more complicated when delegated authorization comes into the picture, such as when using OAuth. In this video Ben breaks down the differences between permissions, privileges, and scopes and details their relationship to one another.
Read the accompanying blog post to this video, which includes an illustration that summarizes the content: auth0.com/blog/permissions-pr...
Read the article on the nature of scopes: auth0.com/blog/on-the-nature-...
Chapters:
0:00 Welcome
00:23 Overview
01:03 What is Access Control?
01:41 What are Permissions?
02:54 What are Privileges?
03:53 An analogy of Access Control
04:49 An analogy of Delegated Authorization
05:50 How these analogies align to computer systems
06:45 How Scopes make Delegated Authorization possible
09:36 Common Myth 1: Scopes are not Privileges
10:54 Common Myth 2: Permissions and Scopes have a natural mapping
11:39 Common Myth 3: Privileges and Scopes have a natural mapping
12:27 Summary
___________________________________________
Learn with Auth0 by Okta
Try for free - a0.to/auth0
The Auth0 by Okta blog - a0.to/blog
Ask questions on the Community Forum - a0.to/community ___________________________________________
Follow Us on Social
Twitter - / oktadev
LinkedIn - / oktadev

Пікірлер: 13
@saylorsedell2380
@saylorsedell2380 Жыл бұрын
What an amazing video! The pacing, the voice, the soft background music, the clear animations, they are absolutely perfect! Instantly subscribed!
@OktaDev
@OktaDev Жыл бұрын
Glad you enjoyed it! Thanks for your kind feedback.
@jamstawildman
@jamstawildman Жыл бұрын
This is a very useful, clear and succinct overview :)
@LawrenceKersten
@LawrenceKersten 7 ай бұрын
Very helpful. Thank you.
@vasylvoina6663
@vasylvoina6663 Ай бұрын
Why in every IT company we have some philosophers who decide what is Privildge, Permission, Scope etc? Why we cannot have common understanding of the same things?
@user-fd3yr5eo4g
@user-fd3yr5eo4g 8 ай бұрын
What an amazing video, thanks for that.
@OktaDev
@OktaDev 8 ай бұрын
Thanks for the feedback! We're glad to hear you found it helpful.
@amerjabar7825
@amerjabar7825 9 ай бұрын
This video was extremely useful!
@OktaDev
@OktaDev 9 ай бұрын
Great to hear! Thanks for the feedback
@louie7847
@louie7847 Жыл бұрын
Question: Since checking the scope is not enough (as it isn't a subset of the user's privileges), what is the most efficient way to access/validate the user's privileges? Amazing content by the way! This is the clearest explanation I've seen around this topic for years.
@coreylweathers
@coreylweathers Жыл бұрын
👋Okta Dev Advocate here. Thank you so much for the feedback. To answer your question - How you perform these checks honestly depends on how you intend to use the user’s permissions in an application. If you do use Auth0 you can add permissions to your access tokens, and check these in your APIs or backend. We also have some code samples that demonstrate this on the Auth0 Developer Center. Hope this helps! Happy to talk offline if it that would be useful.
@OktaDev
@OktaDev Жыл бұрын
Thanks,@@coreylweathers ! You can explore one approach to run these checks using the Auth0 Developer Center Resources: developer.auth0.com/resources/code-samples/api Check out the ones for “Role-Based Access Control”.
@rodneydias9586
@rodneydias9586 7 ай бұрын
Excellent
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 554 М.
A Developer's Guide to SAML
27:47
OktaDev
Рет қаралды 171 М.
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,5 МЛН
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 4 МЛН
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН
Go Beyond Role Based Access with Auth0 FGA - Devday 2023
29:16
Everything You Ever Wanted to Know About OAuth and OIDC
33:21
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,7 МЛН
ID Tokens VS Access Tokens: What's the Difference?
8:38
OktaDev
Рет қаралды 142 М.
Adding Salt to Hashing: A Better Way to Store Passwords
18:18
Bluetooth Desert Eagle
0:27
ts blur
Рет қаралды 6 МЛН
keren sih #iphone #apple
0:16
Muhammad Arsyad
Рет қаралды 1,6 МЛН
Apple watch hidden camera
0:34
_vector_
Рет қаралды 61 МЛН
China 🇨🇳 Phone 📱 Charger
0:42
Edit Zone 1.8M views
Рет қаралды 382 М.
КОПИМ НА АЙФОН В ТГК АРСЕНИЙ СЭДГАПП🛒
0:59