Here's a theoretical scenario: hackers get their hands on a firebase admin key. Now - all the database is open to them. Is there a way to:
- Get an alert from Google that someone is using / trying to use the admin access? (Kind of like we get an alert when someone signs into our Gmail account from an unknown device)
- Have a 2-steps authentication, such that no admin key alone can access the db?
- Are there any other best practices to ensure our users' privacy on firebase other than the 'rules' of course?
I just feel very uncomfortable with a single 'door' to all the database. (even worst: that door may have multiple valid keys...)