Secure Your Firebase Project
Last Updated: 27 Dec 2022Firebase Security Rules
Firebase Security Rules are required to protect the data in Firebase Realtime Database, Firestore and Firebase Cloud Storage.
By default, Firebase allows anyone to access your data. This can be problematic if you don't want data to be stolen or illegally modified.
Firebase Security Rules are special conditions that can restrict which data can be read or write, when and by whom. It can allow only a group of authorized people to access your data.
Members get customized Security Rules for their project.
Become a member: https://www.buymeacoffee.com/sparsha
Restricting API Key
Restricting API Keys disallow others to run an app on their own Website using your Firebase API Keys.
(However, this doesn't make your Database or Cloud Storage secure. You need to deploy Firebase Security Rules for data protection.)
- Go to https://console.cloud.google.com/apis/credentials
- Choose your required Firebase Project and your Firebase API Key from the list.
- Select an Application restriction controls
- Add an item