且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何防止INSERT页面的垃圾邮件

更新时间:2023-12-01 23:16:28

你试图说服自己,你有一些(可能是模糊的)防止垃圾邮件的想法,但不,你没有。垃圾邮件是这些功能的另一面,可以为您的网站添加内容提供一些灵活性。问题的解决方法根本不存在,你只能在一定程度上缓解这个问题。



100 /小时限制的想法,或类似的东西,根本不会工作。对于罕见的合法用户来说,这将是一个不必要的麻烦。对于垃圾邮件发送者来说,100 /小时根本不会成为问题:他们会创建多个帐户,并且会产生100 /小时的垃圾邮件(好像这还不够!)。



让我这样说:如果在这种情况下可以提供垃圾邮件保护,CodeProject永远不会有垃圾邮件。但是我们有一些,并且曾经有过这个问题。要了解一些信息,请参阅:

http://www.paulgraham.com/spam.html [ ^ ](一篇文章启发了我使用的一些想法) ,

垃圾邮件计划 [ ^ ](我的简短CodeProject提示/技巧文章写的为了应对我们的垃圾邮件情况。



至少,它可以让你了解问题的严重程度。实际上,我不知道CodeProject的垃圾邮件抵抗功能的当前状态。如果您有兴趣,可以在这里 Chris Maunder http://www.codeproject.com/Forums/1645/Site-Bugs-Suggestions.aspx [ ^ ]。



-SA
You try to convince yourself that you have some (maybe vague) idea of preventing spam, but no, you don't. Having spam is the flip side of the features allowing some flexibility in adding content to your site. The resolution of the problem simply does not exist, you can only alleviate the problem to some degree.

The idea of 100/hour post limit, or something like that, won't work at all. For rare legitimate users, it will be an unwanted hassles. For spammers, 100/hour won't be a problem at all: they will create several accounts and will make enough spam of 100/hour (as if it was not enough!).

Let me put this way: if spam protection in such situations was possible, CodeProject would never had spam. But we has some, and used to have a heavy problem with that. To get some idea, please see:
http://www.paulgraham.com/spam.html[^] (an article inspired some ideas I used),
A Plan for Spam[^] (my short CodeProject tips/tricks article written in response to the heavy spamming situation we has).

At least, it could give you the idea on how difficult the problem can be. Actually, I don't know the current status of spam resistance features of CodeProject. If you are interested, you can ask Chris Maunder here: http://www.codeproject.com/Forums/1645/Site-Bugs-Suggestions.aspx[^].

—SA