TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Favorite methods to block spam in your apps?

2 点作者 3riverdev大约 11 年前
Lately, http:&#x2F;&#x2F;www.theprobono.org&#x2F; has been absolutely slammed with spam project postings. They tend to consist of random characters for the username, random real-world locations, and typical spammy descriptions.<p>I just pushed a sanity check for the time between when the form is displayed and submitted, ensuring a reasonable amount for a human to fill it out. Beyond CAPTCHA and honeypots, any other ideas?<p>I&#x27;ve also been looking for a possible 3rd party service that could look at the project description and give a &quot;likelihood of spam&quot;. Any thoughts?<p>Thanks!

2 条评论

stevekemp大约 11 年前
What format is the project-description in? Is it a paragraph, or more, of random HTML? If so you might enjoy the blogspam API:<p><a href="http://blogspam.net/" rel="nofollow">http:&#x2F;&#x2F;blogspam.net&#x2F;</a><p>It is used to blog forum&#x2F;blog comments, but people have used it for protecting wikis from spam. (Disclaimer it is my pet-project.)
评论 #7586991 未加载
NameNickHN大约 11 年前
I used a time based token for all my forms. The token becomes invalid after an hour or so. Enough time for legitimate users to post their stuff but completely blocks automatic spam.