You are here: Re: spam prevention in web page comments « All PHP « IT news, forums, messages
Re: spam prevention in web page comments

Posted by Allodoxaphobia on 01/15/07 04:51

On Mon, 15 Jan 2007 12:09:20 +1000, Troy Piggins wrote:
> I'd like to provide the ability for visitors to leave a comment
> on my site. I've been burned in the past with a blosxom[1]
> blogger that got spammed so I took it off my site.
>
> I'm not talking about providing a web based forum or email
> front-end, just a link to a comment form for blog entries or
> photos etc. I'll be hand coding it.
>
> I could establish a "members only" type approach and if visitors
> wanted to leave a message they would have to be registered or
> something. Wasn't sure if there were any other, simpler,
> approaches or tricks.
>
> What are the latest/current solutions or philosophies for
> deterring spam hitting my comments?

I found (the hard way) that having the comment page 1 directory lower
than the referencing page _and_ having robots.txt disallow it (the
sub-directory) keeps the sewage-sucking septic slugs from posting on it.
The reason? They probably find message boards, etc. by Googling for
them. And, your comment page will not be indexed by the search engines,
so it does the scum-sucking slime snakes no good to post on it.

The Hard Way (that I referred to above) was having _correctly_ deny'ied
(via robots.txt) only 2 out of 3 message boards built that way on a
domain I have. I fat-fingered the entry for the 3rd one. Guess which
one started getting slammed by postings from botnets? The other two
have not even seen a dead simple probe -- which usually precedes the
'payload' postings.

Of course, that ain't the _only_ tactic. Disallowing any href/http/www
references is A Damn Good Thing, too. If it does them no good they
won't pick on you -- there's too many *easy* targets out there.

Another option: .htaccess. All 3 of my message boards are/should be
USA-centric. I deny'ied by high level ip net block ranges as I saw
problems show up.

GL & HTH
Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http//jonz.net/ng.htm>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация