Category "firebase-security"

Firebase Realtime Database Allow read/write if string matches an attribute

My firebase realtime database structure: stores -store1234 -data -specialKeyForStore1234 -store4567 -data -specialKeyForStore4567

Firebase Realtime Database prevent delete - based on condition

I would like to prevent deletion of data in Firebase Realtime Database based on a condition. A user that is not author should be able to update the "note", but

Firebase RealTime database rules to restrict on user id runs in simulator but not in AngularFire

If you look at the screenshot you can see that the simulated test passes: It restricts adding user data to the users node if the uid does not match. You can

Firebase/Firestore - database has insecure rules?

I have a SwiftUI application, which uses Firebase as a back end, and my rules are something like this: rules_version = '2'; service cloud.firestore { match /d

flutter app suddenly can't fetch data from firestore, Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null}

i've been searching for a lot of problem that relate with this but i still didn't find the solution the error say Accessing hidden method Ldalvik/system/CloseG

Unexpected getting cloud_firestore/permission-denied in production sometimes

My Firestore rule: match /app/info { allow read; } My code: FirebaseFirestore.instance .collection('app') .doc('info') .snapshots()

Firebase Security Rules Storage from specific web url

I want to set the security rules of the storage to be that only data that send from my web (specific web url) can be stored. Otherwise no one can write and read

Firestore dynamically update security rules

Imagine we have Chat application and in this application, we have many rooms, some private and some for everyone. Every room has an admin who can manage users (

Firebase functions: cloud storage triggers not working because of insufficient permissions

I have a cloud function that is triggered by updates to storage. when I deploy any function that utilises cloud storage, I get an error code 7 and an insufficie

Trying to test firebase rules with emulator

I'm trying to setup my testEnvironment for testing my firestore rules with my locally running emulator. When i try to access testEnv it is undefined, and I gues