战胜SPAM

| | Comments (0) | TrackBacks (0)

我们留下了Email在个人主页上,或回复别人的Blog文章,或给别人留言,我们的本意是想尽可能多的与人交流,但是这让SPAM机器人有了可乘之机,它们是这么容易的从网页上获取Email地址然后无耻地狂发垃圾邮件。

为了阻止裸露的Email被SPAMBOT提取,需要采取一些措施来防止。之前有人会这样写:you AT host DOT com,这虽然可以防止SPAMBOT,却对用户不友好,而且也增加了用户需要手动修改Email地址,这就降低了用户与你交流的可能性。或者有人这样写:

<script type="text/javascript"> document.write("<a href='mailto:you@example.com'>email me</a>"); </script>

虽然这是通过JavaScript来执行,可以正常显示Email给用户,但是并不能阻止SPAMBOT的提取,因为SPAMBOT在很大程度上只是查询所有html代码,并且匹配Email格式的内容。

有一些处理方式,在很大程度上达到组织SPAMBOT的效果,可以用Email Address Encoder来编码你的Email,或者使用The Enkoder Form。这两个都是在线提供Email编码的,还有这里(Special Characters - notes and investigations 1)提供特殊符号的对照表。

另外,ALA提供了一个现成的PHP程序可以用来编码(Win the Spam Arms Race)。

如果你想了解更多,请看下面链接,希望你能获得更多有趣的内容。下次我再介绍另外一篇文章所讲的内容(Graceful E-Mail Obfuscation),希望你感兴趣:-)。

以上参考:Win the SPAM Arms Race

正在写这篇文章的这个时候,在10分钟前刚删掉20左右封SPAM,现在已经又有两封了 :')。

End.

0 TrackBacks

Listed below are links to blogs that reference this entry: 战胜SPAM.

TrackBack URL for this entry: http://www.tracesoul.com/mt-tb.cgi/16

Leave a comment

About this Entry

This page contains a single entry by Hangring published on November 12, 2007 9:34 PM.

试用ECMAScript 4 was the previous entry in this blog.

Flex的若干问题 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01