A hacker was able to create users in my client side based firebase site, I was restricting account creating by some sign up conditions on user's signup form data, I think he just injected signup code,
I immediately disabled authentication and removed the malicious accounts
If I used firebase cloud functions, will this hack still be able to create accounts, since firebase configuration was available to any client
are there any other actions ?
Update 4-9-2022 as temporary solution until using cloud functions, I made use of making conditions using
https://firebase.google.com/docs/database/security/rules-conditions if a user was created bypassing my logic I will make rules to disallow him from accessing certain paths