Announcement

Collapse
No announcement yet.

spam bots - how to fool them ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    spam bots - how to fool them ?

    I've just been looking at pcpro.co.uk and came across this clever way of fooling those automatic bots that just fill out the forms because they can !
    Clever idea

    It had occurred to me that these bots simply fill in all the form fields and submit the page, so perhaps there would be a simple way to confuse them? If we put an extra field on the form that wasn’t used, and hid this using CSS “visibility: hidden”, a human user wouldn’t see it, and so wouldn’t enter anything into it; a bot, however, would be fooled into filling the field.

    All we’d then have to do is test to see if this field contained anything; if it did, we could simply dump that form, since it must have come from a bot.

    I wasn’t sure this would work, since it depended on bots not using the page’s stylesheet to render it. It turns out, however, that I needn’t have worried – it worked like a dream.

    Five minutes of coding was all it took to stop the spam submissions. It’s a useful technique that you’re free to use on your own sites,
    seems a nice idea

    #2
    Good one!

    I recall someone earlier who used to get many fraudulent orders and added a "SuperFast" shipping option at an ridiculous eye-watering surcharge. Only scum-bags using stolen credit would go for it so it would help to automatically weed them out.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      I've found that checking the content for a link works well. I dump any submitted forms that have a link and show a message explaining that links aren't permitted.

      It's completely killed off what had started to become a growing problem.

      Mike
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Brilliant idea. Just goes to prove that sometimes the simplest method is the best.
        Steve Griggs.

        "People in business often miss opportunities, mainly because they usually arrive dressed in overalls and looking like work."



        www.kitchenwareonline.com
        www.microwave-repair.co.uk

        Comment

        Working...
        X