防止垃圾评论的另类方法
授权方式:署名,非商业用途,保持一致,转载时请务必以超链接(http://www.fwolf.com/blog/post/395)的形式标明文章原始出处和作者信息及本声明。先看这里:從 Ditz 談針對分散式版本控制的 Issue Tracker,最好是留言以后再看本文,更有切身体验啊。
防止spam评论现在流行使用问答方式,这位老兄更近一筹,评论提交的目标脚本打开了apache的认证,然后在认证提示里放上用户名和密码。一般spammer机器人只会看到401 Authorization Required或者403 fobbiden错误,达到了阻止的目的,真的很高明。
多想一点
盾1:要想定期不定期更换密码,可以用脚本定期更改apache配置文件中的AuthName,用htpasswd更改AuthUserFile,然后重启apache。
矛1:既然浏览器能够得到AuthName提示,robot理论上也是能得到的,只是他们现在还没意识到,没有去处理罢了。
盾2:AuthName里我使用中文,或火星文,或脑残体,别说外国人了,中国人也得认真才能看明白。
矛2:人肉之。。。
至于我这里垃圾评论的情况,嘿嘿:
Akismet has protected your site from 51,241 spam comments already, and there are 33 comments in your spam queue right now.
Tags: abuse, Apache, spam

Save to Browser Favorites
Ask
backflip
blinklist
BlogBookmark
Bloglines
BlogMarks
Blogsvine
BUMPzee!
CiteULike
co.mments
Connotea
del.icio.us
DotNetKicks
Digg
diigo
dropjack.com
dzone
Facebook
Fark
Faves
Feed Me Links
Friendsite
folkd.com
Furl
Google
Hugg
Jeqq
Kaboodle
linkaGoGo
LinksMarker
Ma.gnolia
Mister Wong
Mixx
MySpace
MyWeb
Netvouz
Newsvine
PlugIM
popcurrent
Propeller
Reddit
Rojo
Segnalo
Shoutwire
Simpy
sk*rt
Slashdot
Sphere
Sphinn
Spurl.net
Squidoo
StumbleUpon
Technorati
ThisNext
Webride
Windows Live
Yahoo!
Email This to a Friend
If you like this then please subscribe to the
April 10th, 2008 at 21:14:31
妙计。不过一旦流行后spambot们也会学乖的。
[Reply]
April 10th, 2008 at 21:44:07
其实我觉得akismet效果已经很不错了, 用这个会让用户觉得留言很麻烦…
[Reply]
April 10th, 2008 at 22:07:17
我说的这位老大,用的是MT blog系统,不是wordpress,所以可能没akismet用。
[Reply]
April 10th, 2008 at 22:31:05
test 看效果。。。
[Reply]
April 12th, 2008 at 9:46:43
一直在人肉之.很烦…
一直想找个解决办法.
[Reply]