Let's say I have a very secret website for only a limited amount of people, my family for example, who only can log in. I am the admin of creating accounts via Firebase Auth.
But then, someone notices the Firebase credentials in my frontend code to initialize the app.
So the "Hacker" initializes an app from it at his localhost and creates a user with his email address. Now he is able to log in and can do all this other mentioned methods here to my very secret website, right…? How to prevent this?