Implementing Authorization Models
Автор: Michael Dowden
Загружено: 2021-11-03
Просмотров: 3095
When securing a database there are two main things you need - authentication (knowing who is trying to access the database) and authorization (knowing they have the necessary permissions). Firebase provides support for both, but it’s not immediately obvious how to implement robust authorization using the available tools.
This talk will introduce two standard authorization models, ACL (Access Control List) and RBAC (Role-Based Access Control), and show how to implement these in both Realtime Database and Firestore. You'll learn how to enforce and manage authorization using database rules and cloud functions.
Blog Post
https://andromedagalactic.com/blog/im...
Code Examples
ACL - Firestore: https://github.com/M2D2co/auth-acl-fi...
ACL - RTDB: https://github.com/M2D2co/auth-acl-rtdb
RBAC - Firestore: https://github.com/M2D2co/auth-rbac-f...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: