Menu

Firebase rules "if true": how to find open Firestore and Storage rules and fix them
📰

Firebase rules "if true": how to find open Firestore and Storage rules and fix them

DEV Community: firebase·ProofForge·9 days ago
#t7i4TI4S
#devtofirebase#devto#dev#rules#write
Long article (276 words) — no AI summary yet.
Reading 0:00
15s threshold

Firebase and Firebase Studio apps often ship with Firestore or Realtime Database rules that let anyone read and write. It happens because the quick-start rules work, so nobody changes them.

The rule to look for

In Firestore, allow read, write: if true; means any visitor can read and write that collection. In Realtime Database, ".read": true and ".write": true at the root do the same. Test mode rules that expire still leave a window open.

How to check from outside

Your Firebase config is in your frontend and is public by design. The rules are what protect the data. Open the Rules tab in the console and read them.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.