Skip to content

Glossary · Security

Firebase Security Rules

Declarative access control rules for Firebase Firestore, Realtime Database and Cloud Storage that the server evaluates for every read or write.

Browse all definitions

In detail

Firebase Security Rules are the primary data access layer for Firebase apps. Because the Firebase SDKs allow client side code to read and write directly to the database, rules are the only thing preventing a malicious client from accessing data it should not. Developers write rules in a domain specific language, and the server evaluates them for every request. A common misconfiguration is rules that allow read and write to all documents by any authenticated user (or, more dangerously, by anyone at all). Firebase's default rules in some SDK versions have historically allowed open access until explicitly locked down.

Sources & further reading

Check the source, not just the summary

Apply the definition

Want to talk through how this applies to your business?

Start with the decision in front of you. We will help map the fit.

Straight answers · no pitch deck · no commitment