ASP - anti bot checking?

Discussion in 'ASP General' started by ., Sep 3, 2010.

  1. .

    . Guest

    Hello, would anyone recommend the best / easiest way of implementing a bot
    checker? I've heard of CAPTCHA, session length timers, random 2 numbers to
    add, etc... any more effective and easier than the others?
     
    ., Sep 3, 2010
    #1
    1. Advertisements

  2. .

    Evertjan. Guest

    .. wrote on 03 sep 2010 in microsoft.public.inetserver.asp.general:

    > Hello,


    Wow, anonymous, this is not a telephone,


    > would anyone recommend the best / easiest way


    No, I hope not.

    "best" and "easiest" are subjective in programming,
    so my "best" and "easiest" and your "best" and "easiest" programming
    cannot and should not be the same.

    > of implementing a bot checker?


    Easiest == shortest code?

    > I've heard of CAPTCHA, session length timers, random 2
    > numbers to add, etc... any more effective and easier than the others?


    What bots do you want to check and why?
    What do you mean by "bots", "crawlers" perhaps?

    What would you do with the results of your "check",
    publish them or put them in a database or change the page,
    or do you really mean "bot-stopper"?

    It the latter, do you want to stop google-bot too?

    Do you want to do this, whatever it is that you want to do, serverside?

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
     
    Evertjan., Sep 3, 2010
    #2
    1. Advertisements

  3. .

    Dooza Guest

    On 03/09/2010 01:09, . wrote:
    > Hello, would anyone recommend the best / easiest way of implementing a bot
    > checker? I've heard of CAPTCHA, session length timers, random 2 numbers to
    > add, etc... any more effective and easier than the others?


    To prevent form-bots from automatically submitting data I use the
    honeypot method.

    In my form I have 2 additional fields, one with a known value, and one
    with no value. These form fields are in a div hidden by css. This is to
    allow screen readers the chance to understand what these fields are for.
    The label will tell the user what to do if they come across them.

    Then on the processing script I will only send the form data if the
    empty field is empty, and the known field is as expected.

    This works because most form-bots fill in all fields they find with
    random information.

    Obviously this doesn't get around users who are paid to submit spam in
    forms, there is nothing you can do to stop these.

    The method I have been using has worked successfully on many sites over
    the last 10 years that I have worked on.

    Dooza
     
    Dooza, Sep 3, 2010
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Scott Allen
    Replies:
    4
    Views:
    1,239
    bruce barker
    Jan 14, 2005
  2. ~~~ .NET Ed ~~~
    Replies:
    1
    Views:
    514
    Scott Allen
    Mar 21, 2005
  3. Lilian BRUN
    Replies:
    2
    Views:
    645
    Lilian BRUN
    Mar 5, 2005
  4. Nicola Larosa

    The snake bot

    Nicola Larosa, Aug 22, 2003, in forum: Python
    Replies:
    0
    Views:
    555
    Nicola Larosa
    Aug 22, 2003
  5. Doug R
    Replies:
    4
    Views:
    631
    Jegenye 2001 Bt
    Oct 24, 2003
  6. Just Me

    ASP.NET Anti Spam Form Submission

    Just Me, Oct 18, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    583
    ace_away
    Oct 19, 2007
Loading...