Development of a 1C-Bitrix anti-spam module

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages

Developing a Spam Protection Module for 1C-Bitrix

Forms, reviews, comments attract spam bots. Spam protection module blocks automated spam while preserving UX.

Protection Methods

  • CAPTCHA — reCAPTCHA v3 (invisible), image CAPTCHA
  • Rate limiting — 1 form per IP per minute
  • Email verification — click link to confirm email
  • Honeypot — fake form field (bots fill it, humans don't)
  • IP/Email blacklist — block known spammers
  • Content filters — detect spam keywords, links
  • Behavioral analysis — form filled too fast = likely bot

Implementation

Middleware checks before processing form:

$validator = new SpamValidator();
if ($validator->isSpam($_POST, $_SERVER['REMOTE_ADDR'])) {
    http_response_code(429); // Too Many Requests
    return;
}

Admin Dashboard

View spam statistics, blocked submissions, manage blacklist.

Development Timeline

Stage Duration
Basic (CAPTCHA, rate limiting) 4–6 days
Multi-method (honeypot, filters) 10–12 days
Advanced (ML detection, dashboard) 16–20 days