Reputation: 41
I have a bit problem with account register on my site
Now, I just see one email account have been register with my site, It is so strange, that email is [email protected], and I don't know for sure how many similar mails are there.
I don't want this email can register with my account, Because I'm afraid with spam mail or Hackers.
How can I prevent from all of it?
Upvotes: 2
Views: 161
Reputation: 4212
You could always make registration a two part process.
Depending on how your system is set up, you could then clear all users with unverified email addresses after a week (or whatever time range you desire.)
Upvotes: 4
Reputation: 163438
Don't.
It's a valid e-mail address. You shouldn't be blocking it, nor preventing it. Even if you try, you will not be preventing spammers (which is what you are really trying to accomplish).
To actually prevent fake registrations, there are many techniques, from CAPTCHA to simply requiring JavaScript for your signup form to work. None of them are fool-proof... they all can be worked around, but they go a long ways towards helping.
Upvotes: 8