Firebase Realtime database write access
Answered
Anay-208 posted this in #help-forum
Anay-208OP
Currently, this is my rule:
Now, I want to set write access to only take place if a api key has been provided, and I can't seem to find anything similar to that.
What can I do?
{
"rules": {
".read": true,
".write": false
}
}Now, I want to set write access to only take place if a api key has been provided, and I can't seem to find anything similar to that.
What can I do?
Answered by Anay-208
The option I found was to authenticate, and create a user with random email & pass, then in backend, just provide that email & pass while logging in
1 Reply
Anay-208OP
The option I found was to authenticate, and create a user with random email & pass, then in backend, just provide that email & pass while logging in
Answer