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
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1177
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    811
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    564
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    747
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    655
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    976

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