Disclaimer : temporary mails providers are out of the scope of this question.
Let's say I have a simple web app example.com. And I really want my users to be unique (at least for my database IDs).
So when an user register, the following process is done :
- a line is inserted in database for this user (the user can't login because he did not verify his mail)
- a mail is sent to the user with a link allowing him to validate his account (the link is only available for a couple of hours)
- when the user click the link (assuming it is still valid) he can now login and perform actions
So far so good, however an user with [email protected]
could create a lots of account (8192 according to https://thebot.net/api/gmail/)
I am aware that I could check for a gmail address and then removes dot(s), so this would not work. It clearly seems to be the easier road to prevent abusive users to abuse my system.
On the other hand, there might be a lot of other mail provider using the same strategy, and filtering by providers seems kind of clumsy...
What would be the best practice for this usecase without messing user registration and keep users unique ?
Am I just taking the wrong path for this kind of validation ?
Edit: an example of this kind of abuse would be a website with torrents files where you have to maintain a ratio of 1.
When you create an account, you have a ratio of 15 (as if you seeded 15 GB and downloaded 1GB) if an user can create multiple account with the same email it seems to me that this an issue for the site.
(I recently came across a website like this which allow multiple account with same mail) and I was just wondering how you guys would deal with this hence the question.
On the other hand, Facebook where users doesn't really have any advantages to have multiple accounts does not allow multiple accounts with same email.
I don't personally have any website that would really benefit from preventing this trick but I am curious.
[email protected]
however he can also create[email protected]
and both mail will be sent to the same address, that's the kind of abuse I want to avoid... I don't realy care as long they don't abuse this trick, like[email protected]
,[email protected]
etc do you see my point or should I update my question ?