I am new to the Google Cloud platform and have been scouring the documentation to determine if Firestore/Firebase is a good fit for my next web app. I understand that because my API key to my project is exposed the only security to my database is the rule set. I have looked at many examples and find the (if request.auth.uid != null) approach implemented a lot to limit access only to authenticated users.
I am also looking at using Firebase Auth()
and keep asking myself how effective the (request.auth.uid != null
) if anyone with my API key can run a few commands using Auth
to create a new account. Is there a way to limit who can create an account not just anyone who can open up DevTools
, grab my key, and start issuing some commands? Am I missing something here? Is there some standard approach that should be taken? Thanks in advance.