Ask Experts Questions for FREE Help !
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member

    May 16, 2006, 08:59 AM
    Easy way to stop bots from trying to spam my guestbook?
    OK, I know I can install something like this, but I really don't want to install anything.

    Check out what this guy is doing at the bottom of his page:
    Franklin Acquisition Advisors

    I love that!

    Anyone know how to do it? I'm using dreamweaver, and find that if I assign a value to that field, then if a user puts the wrong value in, but retries, the submission goes through.
    Nez's Avatar
    Nez Posts: 557, Reputation: 51
    Senior Member

    May 16, 2006, 09:17 AM
    If you are an automated machine,please find the answer to the 27th letter of the alphabet before replieing. :confused:

    No,sorry,I can't do it... but maybe Curlyben,or Scott can?
    Curlyben's Avatar
    Curlyben Posts: 18,488, Reputation: 1859

    May 16, 2006, 10:50 AM
    I do like what they have done here:

    How about just ripping the code and installing it for yourself ?

    This may also be helpful
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member

    May 16, 2006, 12:20 PM
    The one you refer to does not actually work. I entered pineapple and it took! It appears the guy is probably receiving emails from that page (like I am).

    My guestbook form info comes to me by email so I want to stop the submissions. They're flooding my inbox to the tune of 20 a day.
    LTheobald's Avatar
    LTheobald Posts: 1,051, Reputation: 127
    Ultra Member

    May 17, 2006, 04:27 AM
    There's plenty of ways to do it.

    First is like the random question. Easy enough to do with a bit of PHP or ASP. There's also the way where you have to type in the text displayed in an image.

    If you are running this site on a Linux/Unix box, you can block bots using .htaccess files: Scripts: Spider Blocking :: .htaccess, PHP, Block Bad Bots with .htaccess or PHP

    You can also use a robots.txt file that sits in your root folder: Using robots.txt to block the most common bad bots - Firewall Forums . Some of the nasty bots will simply ignore this though.
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member

    May 17, 2006, 05:26 AM
    Thanks LT. The server is Linux; I'll try adding those disallow lines to robots.txt as the link suggests. If that takes care of most of them I'll be happy with that!
    LTheobald's Avatar
    LTheobald Posts: 1,051, Reputation: 127
    Ultra Member

    May 17, 2006, 09:23 AM
    If you're feeling brave Rick, the .htaccess file would be the way to go. Most bad bots simply ignore robots.txt and it's these bad bots doing the spamming. With the .htaccess file you'll have much more contriol.

    Here is a great site with plenty of links: Behind the Scenes with Apache's .htaccess - Brainstorms and Raves

    About 1/2 down is a section titled "Using .htaccess to Ban Bad Bots and Spammers". Take a look at some of those.
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member

    May 17, 2006, 09:29 AM
    Thanks, LT. I'm glad you added this. I added the robots.txt file with a huge list of Denys' right after my last post, but apparently that's worthless. I've got 3 spam entries since then already.

    I'll try what they suggest at the section you pointed to.
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member

    May 19, 2006, 05:47 AM
    I've not messed with htaccess yet, but after uploading the robots.txt file I swear, it seems like I'm getting MORE spam now!

    Possible stupid question: Is it possible that bots can be attracted by a robots.txt file?
    AMysticWeb's Avatar
    AMysticWeb Posts: 7, Reputation: 3
    New Member

    Jun 2, 2006, 08:48 PM
    As LTheobald mentions, you could try an image with text from the image required in a textbox.

    You could do this with a text prompt as well as an image. Just make sure the validation requires exact spelling input.

    One of the things that make this type of bot spamming is the use of common names for Guestbooks. Guestbook.htm or html as a simple example and with FrontPage the results go to guestlog.htm, so the bots are searching for this too.

    Moving away from the common names for these pages can help a little as well.

    Noindex, nofollow can help as well, but without ASP, PHP or other secure script, it is next to impossible to totally eliminate spam.

    I think in the time being, name change and gif or text validation might offer a little reprieve.
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member

    Jun 3, 2006, 07:18 AM
    Thanks for the addition, AMystic... and welcome to the boards!

    Yeah, I've realized that I need a script to really do it right... and you are so right about the page name. I have other simple forms on non-descriptly named pages that get next to no spam at all. Clearly pages named "guestbook" are targeted.

Not your question? Ask your question View similar questions


Question Tools Search this Question
Search this Question:

Advanced Search

Check out some similar questions!

Stopping Bots from submitting to my Guestbook. [ 9 Answers ]

I've got a guestbook entry page that is slammed by bots. I know there are apps to install like this, but I prefer something simpler. I tried form validation with Dreamweaver on this test page but it does not work. I've got validation set for the "verification" field to be a number between...

Spam [ 1 Answers ]

Hi I am working for a small ISP as Network engineer, we have setup like one Cisco Router , Public IP for WAN and Private IP for LAN. All my customers connected to my ROuter by Private IP's and my router doing NATing. The Problem is some of my customers can't able to send mails, they are...

Need a Simple Guestbook Recommendation [ 3 Answers ]

I've been burned before: A site wiped out from my stupidity in not updating the script. I recently installed VIPER Guestbook: I like it's simplicity and features, but now see that it will no longer be updated... so don't want to keep it. Can anyone recommend a simple, secure Guestbook...

Spam [ 1 Answers ]

How does spam work? How does a spam operator get his message to my email?

View more questions Search