Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Security Rules for Firestore - Firebase Firestore

Philipp Lackner via YouTube

Overview

Learn how to enhance database security by setting up Firestore security rules in this 16-minute video tutorial. Explore rule basics, separate read and write access, and configure rules for specific actions. Discover techniques for allowing authenticated user access, declaring rules for specific collections, and controlling access based on document field values. Master advanced concepts such as allowing writes based on specific value changes, granting access based on fields in other documents, and permitting access when specific documents exist. Gain valuable insights to protect your Firebase Firestore database effectively.

Syllabus

Rules Basics:
Separate Read and Write access:
For which actions we can setup rules:
Allow access for authenticated users:
Declare Rules for specific collections:
Allow access if a field in the same document equals a specific value:
Allow writing if the change equals a specific value:
Allow access if a field in another document equals a specific value:
Allow access if a specific document exists:

Taught by

Philipp Lackner

Reviews

Start your review of Security Rules for Firestore - Firebase Firestore

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.