+ 3

Hide API key and other security credentials of firebase database.

Is firebase a secure database... As my security credentials like API key and all can be viewed in the browser... So has anybody found an alternative or anything to secure the data??

9th May 2018, 9:19 AM
KUMAR SHASHWAT
KUMAR SHASHWAT - avatar
2 Answers
+ 21
It is totally secure if you use authentication. Plus you can write special rules for users.
9th May 2018, 9:50 AM
Igor Makarsky
Igor Makarsky - avatar
+ 9
one thing you can do is to set read/write rules in the firebase control panel those rules are not accessible to anyone but you and can permit/forbid access to certain data more read: https://medium.com/google-cloud/how-secure-is-your-firebase-ec4eb882f34b and regarding the api key: https://javebratt.com/hide-firebase-api/
9th May 2018, 9:50 AM
Burey
Burey - avatar