Reputation: 16618
I'm basically asking, should I store the Firebase url in the client side e.g. the browser?
Hackers can then easily take that. But if my security in Firebase is good enough, should it be okay to store it client side?
Upvotes: 0
Views: 58
Reputation: 32604
The URL is your interface with the Firebase Realtime Database, it is okay to expose it publicly as long as you have proper security rules.
If a malicious user gets ahold of the URL and tries to delete or save data, your security rules will keep them at bay.
Upvotes: 1