Firebase rules

Skip to first unread message

Next Artificial View

May 16, 2024, 10:48:10 AMMay 16
to Firebase Google Group
I hope you are doing great.
I got a problem with firebase rules; Even though I set the following as rules for the firebase, I am still facing problems with: Your Realtime Database **** has insecure rules We've detected the following issue(s) with your security rules:
any user can read your entire database
any user can write to your entire database

*The rules that I have set:
  "rules": {
    "some_path": {
      "$uid": {
        // Allow only authenticated content owners access to their data
        ".read": "auth !== null && auth.uid === $uid",
        ".write": "auth !== null && auth.uid === $uid"
Reply all
Reply to author
0 new messages