Is email verification with a link a bad idea

2019-04-07 16:59发布

In my registration process, the user registers, they get emailed a verification link, and if they click it, only then would their account be verified. But isn't this verification method too easy for the bots?

I think an email could be created by a bot, but for sure if the verification is just clicking a link, it could also be automated by a bot. I'm not sure since I haven't done this and don't care to test it just to know, but my question is isn't this verification method flawed?

I'm thinking about sending the verification code to the user as a text which they would have to copy/paste manually into a form AND the form is captcha protected. Is this a better idea? any flaws with it?

7条回答
Rolldiameter
2楼-- · 2019-04-07 17:23

As pointed out already, you simply have some CAPTCHA validation.

My suggestion is though do human validation before your app creates the user account and sends the verification email. Added value of your site can't easily be forced to just spam verification emails and create bogus waiting to be verified accounts.

Nothing wrong with a link if you do that.

查看更多
登录 后发表回答