Question on registration process
I was thinking about email verification, and was playing with some app. What if
-) an attacker write a script that register millions account with different random email address(all existing, people's email)Then when the people register, it will prompt email already exists in db?
-) Or even simpler, what if a user register with someone else's email address? The registration Ajax triggers a creation of userid and info into the user table in the DB, but the verification is not done.
But then, when the "real" user with the email register, the email is already taken...?As there can not be 2 email address exist in the db at the same time(As the script won't be able to distinguish between the users....
First, you should try to detect if the same IP sends you multiple registration requests during a short period of time and blacklist it (at least for a while).
Second, even when the verification email is sent - you can do many things to avoid "duplicate registration" problem, here are a few examples:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With