I am developing an Android application.
I just want to create a Firebase object with some kind secretso that it can only be used in my code.
Now everyone can access and change my details. How to avoid this?
I tried to do something like this on rules:
{
"rules": {
".read": true,
".write": "auth == 'somepass'"
}
}
But where do I put this line in the link?
How am I just doing this? I do not want to authenticate users, but the application.
source
share