0

Just Curiosity,

On a form, for example 'name', 'email', 'password'. You added another field 'First 3 characters of email' and then on the connect.php you did an if statement basically

<?php
...
$subemail=substr($email,0,3);

if ($subemail === $firstthree){....
...?>

How good of an antibot would that be (security wise)? EDIT OR what percent of bots do you think it would stop?

justsimpleshh
  • 97
  • 1
  • 10
  • 1
    That should be already quite good, and I would even put the field label as text in an image to be sure no bot can ever read this... – Laurent S. Nov 20 '13 at 15:48
  • 3
    CAPTCHA exists for a reason. – Havenard Nov 20 '13 at 15:51
  • None of these questions helped? http://stackoverflow.com/search?q=%5Bphp%5D+bot – Mike B Nov 20 '13 at 15:57
  • 1
    Captcha is alright but its pretty annoying and also new age bots have started to send the catcha picture via email to its creator (or whatever you want them to be called) and get around it after the response. However I do use captcha and I'm not trying to find away around it. The question isn't asking for a method, its curiosity of how efficient the above method would be. – justsimpleshh Nov 20 '13 at 16:02

3 Answers3

1

I do not see how that is random at all.

Usually "antibot" filters, like CAPTCHA, utilize images that bots cannot easily read, and therefore would get wrong.

Using the 1st three letters of an email address could be very easy to hack.

qwertynl
  • 3,912
  • 1
  • 21
  • 43
  • Captcha is alright but its pretty annoying and also new age bots have started to send the catcha picture via email to its creator (or whatever you want them to be called) and get around it after the response. However I do use captcha and I'm not trying to find away around it. – justsimpleshh Nov 20 '13 at 15:57
0

I'm not sure how this would fit into your idea, however I saw an interesting(for me at least) anti-bot type of question on a site.

It was a predefined question like: What's the tallest mountain on Earth?

Answer is simple enough. Answer it correctly, and you can proceed to whatever page follows.

Obviously the questions were random.

0

I would use reCAPTCHA (Google's anti-spam filter), check out its URL: recaptcha

Rápli András
  • 3,869
  • 1
  • 35
  • 55