ย ยทย Full Stack Marketer

Ban IP addresses of spam users - Firebase auth

Database & APIs

hi guys, I have a problem with a user who creates new accounts every day.

With the Firebase function I have already limited account creatikn to 1 account per hour per IP address but it doesn't allow me to permanently ban.

I would like to create a Cloud function that is activated before creating the account and checks if the user has already created more than 5 accounts.

Then ban the IP address.

I would be really grateful if anyone could share their solution or directions on how to do it.

What have you tried so far?

I used Firebase's built-in feature to restrict account creation but it won't allow me to permanently ban.

https://firebase.google.com/docs/auth/extend-with-blocking-functions?hl=it&gen=2nd

Did you check FlutterFlow's Documentation for this topic?
Yes
3