Скорость и безопасность

Spam in request forms: how to protect your site and not lose customers

Form spam is stopped by a combination of invisible measures: a hidden honeypot field, a limit on submissions from one address, server-side validation and an invisible CAPTCHA. The tiresome "select all traffic lights" picture annoys people and lowers the number of requests, so it is best kept as a last resort.

Monolith Studio editorial team4 min read

Where spam comes from

Most form spam is not people but programs. They scan the internet, find forms and submit links to dubious sites, promotion offers and meaningless text. No one warns you in advance: unwanted requests simply pile up in your inbox and CRM, managers spend time checking them and stop trusting incoming requests.

The second problem is more serious: an unprotected form can be used to send emails in the name of your domain. Then your email reputation suffers, and genuine emails to customers land in spam.

Layers of protection, from light to strict

  1. Hidden honeypot field

    A field invisible to people is added to the form. People do not fill it in, while programs fill in every field. If it is not empty, the request is discarded.

  2. Fill-in time check

    A person does not submit a form a second after the page loads. Submissions that are too fast are blocked.

  3. Rate limiting

    No more than a few requests per hour from one address. This also protects against mass attacks.

  4. Server-side validation

    All data is checked again on the server: phone format, length, forbidden characters. Browser-only checks are easy to bypass.

  5. Invisible CAPTCHA

    Modern solutions assess behavior and show a challenge only to suspicious visitors.

  6. Content filter

    Messages with links, repeats and stop words go to a separate folder for review instead of being deleted.

How not to harm real customers

  • Do not make people solve pictures on every request
  • Do not silently discard suspicious requests; keep them for a few days
  • Test the form from a phone and on a slow connection
  • Validate the phone number leniently: accept entries with spaces and brackets
  • Do not complicate the form with extra fields; that lowers conversion more than spam does
  • Once a week, look at the folder of rejected requests and find false positives

What else to protect besides forms

Sign-up and login
Limit the number of login attempts and enable a second check for administrators.
Comments and reviews
Moderation before publishing and a ban on links for new users.
Newsletter subscription
Double opt-in protects against other people's addresses and spam complaints.

Form spam is also a reason to check security

If the form sends emails, make sure the recipient address cannot be substituted through the form fields. This is a common vulnerability in old scripts, and it is how spam gets sent through a site.

How to choose a CAPTCHA

Invisible CAPTCHAs from large providers handle bots well, but they pass visitor data to third-party services. This needs to be reflected in your privacy policy and in the consent to personal data processing.

If your audience is privacy-sensitive or you need data stored in Kazakhstan, solutions without external services will work: honeypots, rate limits and server-side validation cover most threats. For high-traffic sites, network-level protection is added.

How to tell the protection is set up correctly

After setup, send a few test requests from a phone and a computer: a normal one, a very fast one, and one with a link in the text. The first should get through, and the other two should end up in the rejected log. If real requests suffer, relax the rules and watch the statistics.

After a week, compare the number of requests and the share of spam. The goal is not zero spam at any cost, but for managers not to waste time on junk and not to miss customers. A small amount of spam getting past the protection is better than a lost real request.

Want the same for your business?

We'll show you how it would work for your business and name the price before we start.

Discuss your project

FAQ

Why do I get spam even if there are no contacts on the site?

Bots find forms through the page code. Whether contacts are on the page makes no difference.

Is a CAPTCHA needed on every form?

No. For an ordinary request form, invisible measures are usually enough. A CAPTCHA makes sense if an attack is already underway and other methods have not helped.

Can I receive requests straight into a messenger without email?

Yes, it reduces the risk that the form will be used to send emails. But you should still keep the spam check.

Didn't find your question? Message us and we'll reply within one business day.

Ask a question

Forms and security

Spam is hitting your site requests

We will set up form protection so that real customers do not get lost.

Call+7 708 758 18 60Message usWhatsApp
CityAktobe · we work across all of Kazakhstan

Get a quote

We'll reply within 15 minutes with an approximate price.