user1641601
user1641601

Reputation: 41

How to prevent strange email to regiser my site

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

Answers (2)

kmatheny
kmatheny

Reputation: 4212

You could always make registration a two part process.

  1. Register with website using email address
  2. Send email with verification link that activates the account

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

Brad
Brad

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

Related Questions