TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Strategies to Prevent Form Spam?

1 pointsby timetcalmost 4 years ago
Lately I am getting more and more spam in my forms. Including sign up forms, which is annoying because it messes up your funnel, pollutes your db and statistics.<p>Privacy is an important topic for me, so reCAPTCHA from Google a big no. Services like hCaptcha and Akismet seem more privacy friendly though.<p>The best option is of course something that works locally. A honeypot field and CSRF are pretty simple and straightforward strategies to use. But bots sadly get smarter and smarter. Does anyone have (js) libraries, strategies or tips that can be used to fight this problem?

1 comment

johngalmost 4 years ago
Sometimes a simple question and answer tailored to your site is enough to stop them. They never bother with individual sites... so once you break the bot code they never bother to fix it.<p>Something somtimes as simple as: red, green, orange and chair. How many colors are in the previous statement?