100
Views
1
Comments
Solved
[In-App Chat Reactive] Firebase + Chat real time
in-app-chat-reactive
Reactive icon
Forge asset by Daniel Filipe
Application Type
Reactive
Service Studio Version
11.53.29 (Build 61709)
Platform Version
11.18.0 (Build 37468)

I'm developing a realtime chat using firebase with the forge application InAppChatReactive. It's working perfectly for my purpose.

However, in the firebase settings, it is showing that security rules are public, as in the image:


I think it could be a vulnerability

Searching on stackflow I found a configuration that would solve the alert, but I am not able to make it work with the Outsystems.


{

  "rules": {

    "users": {

      "$userId": {

        // grants write access to the owner of this user account

        // whose uid must exactly match the key ($userId)

        ".read": "$userId === auth.uid",

        ".write": "$userId === auth.uid"        

      }

    }

  }

}



UserImage.jpg
Carlos Rodrigues
Solution

I managed to solve this problem. The solution if anyone needs it:


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.