SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    Greenville, SC
    Posts
    388
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CAPTCHA alternatives

    I have a site that is being spammed like crazy, but do no like the idea of CAPTCA... are there any better alternatives, perhaps like asking a random question, or math problem or something....

    Please point me the way!

    Thanks for any help.

  2. #2
    Non-Member DelvarWorld's Avatar
    Join Date
    Jul 2004
    Location
    Baloney
    Posts
    341
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://xkcd.com/233/
    or
    http://www.thepcspy.com/kittenauth (example in action can be found here): http://staging.artsoft.org/test_foru...er&agreed=true

    Of course forum spam is often created by real people now so there's no way to filter out absolutely everyone through the form, unless you have an input box that asks something like "Why do you want to join this site?" and manually filter the responses yourself. I've also heard of another pretty innovative method by spammers where they take the CAPTCHA image your site generates and stick it on a porn site, and telling a visitor to that site they have to enter that (your) CAPTCHA to view the content, then the spambot takes their input and puts it back into your forum.

    I hope every spammer is caught and gets life in prison.

  3. #3
    SitePoint Wizard lorenw's Avatar
    Join Date
    Feb 2005
    Location
    was rainy Oregon now sunny Florida
    Posts
    1,099
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    the quickest way is to exit the script if http:// is in any field.
    Instruct users to just enter "domain.com" if they need to put in a web address. Result 99% of spam eliminated

    next, use css and create an input named "yourname" as a dummy and go left 10000 so it will never display on a normal screen (also put text on it saying not to fill it in and "left" it 10000). Then check if $yourname is set and exit the script.

    get advanced and issue a session with a secret number and echo that as a hidden form field md5 encrypted and make sure the session get transfered when the form s posted.


    this will be transparent to the user.

    these are bots that are filling out the forms and they look for anything with name and email in the input (name) and automatically fill them in.

    do this and you will eliminate all spambots without filtering any legit users.

  4. #4
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    While posting the form, you can check whether form was submitted from the same domain (that means your domain) or not. But i don't know how much reliable is this.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  5. #5
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    177
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've seen an alternative once that had a 3x3 grid of animal pictures, and it asked you to select all dogs, or all cats, or all horses. That's easy enough to do for a human, but near impossible for a bot.

  6. #6
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    Greenville, SC
    Posts
    388
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, that was the example given by DelvarWorld. But I don't think my clients will want, pix of dog, pigs and cows on their website...

    I'm looking for something more on the lines of: Please answer this question:

    What color are roses:
    input field: red


    Just generate a random question.... but simple enough for a human... can bots get by this?

  7. #7
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    177
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ask to select all circles/triangles/squares then?

  8. #8
    SitePoint Enthusiast shredder-man's Avatar
    Join Date
    Sep 2007
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Roses do come in more colors that just red......that is why questions can be tricky. I get your point though. I have seen some with simple addition or subtraction.

  9. #9
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    PHP Guru offers this one : http://www.phpguru.org/static/TextualNumber.html

    (get well Richard )

  10. #10
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    Greenville, SC
    Posts
    388
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah, and I think I would prefer this method. The simple addition. Any examples? I guess I could write my own easy enough, but would rather not reinvent the wheel.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •