Table with task (root) are sorted by key. Also, all tasks have a user field that contains the uid of the user who added it.

It is necessary to make the user have read & write rights only on those tasks he created. That is, you need to set the rules in which the user field will be checked for compliance with auth.uid

The important thing is that there is no parameter with the user on the way to the task, so a simple rule

"tasks": { "$uid": { ".read": "$uid === auth.uid", ".write": "$uid === auth.uid" } } 

the usual check for login = will not work either! null too

and is it possible to link a specific domain to the firebase somehow so that all requests are received from it?

problem

    1 answer 1

    As I understood, there is only one way out: example.com/tasks/-LPqa516TxYFFw-JJOQi

      "tasks": { "$uid": { ".read": "$uid === auth.uid", ".write": "$uid === auth.uid" } }