Is it possible to write the rule which will allow reading data from FirebaseRD only for the app users (a rule which will check the app's package). I didn't find any information about it, all examples I found were with auth
Asked
Active
Viewed 23 times
1
Frank van Puffelen
- 499,950
- 69
- 739
- 734
Sergei Mikhailovskii
- 1,617
- 1
- 13
- 32
-
*firebaser here* At the moment this is not possible. All you can check is the path of the data being accessed, the data being read or written, and the `auth` state of the user on the client. See https://stackoverflow.com/questions/52018041/locking-down-firebase-db-access-to-specific-apps/52018178#52018178 – Frank van Puffelen Mar 26 '21 at 14:08