Restrict Google Firebase access to specific HTTP referrers

Viewed 423

I have an API key specifically for Firebase and I have it restricted like so: enter image description here

However, when I connect to Firebase from a different website (on front-end side) it still works. I've tried connecting Google Maps and it doesn't work (because of the wrong referrer) but Firebase works.

How can I restrict Firebase access to specific web domains?

Note: I'm not using Firebase Auth, I'm only using Firestore as a database.

1 Answers
Related