Lead AI Strategy with UCSB's Agentic AI Program — Microsoft Certified
The Private Equity Associate Certification
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
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