Firebase databases are reachable from the browser by design. Your security rules are the only gate. Test-mode rules, which many tutorials and AI generators paste in to get started, look like this:
allow read, write: if true;
Enter fullscreen mode
Exit fullscreen mode
or in older Realtime Database projects, ".read": true, ".write": true . With those rules, anyone who finds your project ID can read and overwrite your data.
How to check your own project
Open the Firebase console, then Firestore Database (or Realtime Database), then Rules.
Search for if true , ".read": true and ".write": true . Also look for rules with an expiry date that has already passed or is close.
Test from outside. For Realtime Database, open https://YOUR_PROJECT-default-rtdb.firebaseio.com/.json in a browser. If JSON comes back while you are logged out, the database is open.…