DEV Community

Discussion on: How to keep your Firebase project safe and secure from everyone

Collapse
 
kevinmmansour profile image
Kevin M. Mansour

Hello

I am working in HTML and Firebase Project

Is it good to add firebase config in index.html (as People can see it ) or add it in JS file

Thanks

Collapse
 
retronav profile image
Pranav Karawale

Hello Kevin!
Its okay to add it in the HTML files. But since you'll be having JS files, my opinion would be to add it in the JS files.
Enjoy!