AngularM
AngularM

Reputation: 16618

Do I need to store the Firebase url in a server side secure location? or does the Firebase security cover this?

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

Answers (1)

David East
David East

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

Related Questions