I use a firebase
database to store users locations in it (by using GeoFire
).
Except for this parameter, everything else in the database does not include any information.
My problem is that I cannot encrypt the coordinates since the GeoFire won't manage to query the data.
My question is more general than how to encrypt data.
Firebase
is basically connected to my google account which means that if someone hacks my google account he has access to my database.
Yes, I use 2 auth steps for my google account however I'm wondering what are the steps that I need to do in order to maximize the security before I publish my app.
I changed all of the security rules in my database but it all worth nothing if someone just hacks my google account and changes everything.
So I'm asking how I can secure this firebase account that I will only be able to sign in to the database from my computer for example or to make sure that even if someone hacks my google account he won't be able to get into the firebase database.