EN

BotShield

Bots stay outside your Dolibarr and your PrestaShop shop.

BotShield checks that a human really is behind the screen, with no puzzle to solve and no external service. It comes as two modules with the same name: one protects the Dolibarr login, the other protects the pages of your PrestaShop shop.

  • Invisible anti-bot check, no puzzle and no outside service
  • Dolibarr: login and API protected, IPs blocked after too many failures
  • PrestaShop: catalogue protected, search engines and social networks let through

Available on request: we will get back to you quickly · Documentation · Need help?

Version
1.0.0
Dolibarr
18 and later
PrestaShop
8 (module dédié)
Languages
FrenchEnglish
Licence
GPL v3
Publisher
THERSANE

Getting startedRecommended skill level, tap a gauge for details

Features

What BotShield does for you

One protection, two modules

Both versions rely on the same technique: a proof of work (AltCha protocol). The visitor’s browser solves a small calculation in the background, signed by your server. For a human, it is imperceptible. For a bot firing off thousands of requests, each one has a cost. The widget is served by the module itself: no data is sent to Google, Cloudflare or any other third party.

BotShield for DolibarrBotShield for PrestaShop
What is protectedThe login page and the REST APIFaceted product lists, search and the contact form
Against whatMass password attempts (brute force)Catalogue harvesting (scraping) and the server load it causes
What the user seesAn “I am not a robot” box that ticks itself while typing, or nothing at allNothing in most cases: the check is done while browsing
Good botsIP whitelist for your scripts and serversVerified search engines, social networks and AI bots let through
Persistent onesIP blocked after too many failures, calculation harder after each failureCalculation to be redone regularly, spoofed bots listed

BotShield for Dolibarr: the login page

A password is only tested if the browser has provided a valid proof. A brute force attack becomes slow and costly, and every refusal is logged.

  • A check while typing

    The calculation starts when the page opens and finishes while the user types their username and password. The “I am not a robot” box ticks itself. An option makes it completely invisible.

  • One calculation per attempt

    A proof can only be used once: it is impossible to solve a single calculation and then test thousands of passwords with it. Each attempt costs a new calculation.

  • Overly persistent IPs blocked

    After 10 failures in 15 minutes, the IP address is blocked for 30 minutes, and the calculation becomes twice as hard with each new failure, up to 16 times. All these thresholds can be adjusted. The “Blocked IPs” tab lets you unblock in one click.

  • The REST API too

    From Dolibarr 22, API failures count together with those of the login page: a blocked IP is refused immediately. A switch disables API password login if nobody uses it.

  • Logged and visible

    Refused attempts appear in Dolibarr’s security events. An optional log feeds fail2ban, and Dolibarr’s Captcha page shows that BotShield protects the login.

  • Without blocking your own

    Whitelist of IP addresses or ranges for the office network and your scripts. Blocking applies to the IP, never to the account: nobody can lock out the administrator by deliberately entering a wrong password.

BotShield for PrestaShop: the shop pages

Bots that harvest a catalogue go through every combination of filters: colour, size, price, sorting, pagination. Each page costs database queries. BotShield stops these visits before any list is computed, and lets through those that bring you customers.

  • Faceted lists protected

    Categories, search, brands, suppliers, contact form and faceted navigation filters. The check happens before the list is loaded: a refused bot costs the server almost nothing.

  • Good bots get through

    Google, Bing, Apple, DuckDuckGo and the other search engines, link previews from Facebook, Instagram, LinkedIn, X or Pinterest, and AI bots (ChatGPT, Perplexity…). Each category is enabled separately.

  • Verified by their address, not their name

    Any script can call itself “Googlebot”. BotShield checks the IP address: official ranges published by the vendor, or double DNS resolution. The ranges are updated every day, without slowing visitors down.

  • Invisible to your customers

    While a customer views the home page or a product page, the check is done in the background. They reach the lists already verified, for one hour. The “Verification in progress” page is only displayed when arriving directly on a protected page.

  • WhatsApp link previews

    WhatsApp, Telegram, Slack and Discord do not publish a way to verify them. An option lets them through on a restricted basis: the first page of a list, with no filter or sorting, and a limited number of requests.

  • Impostors spotted

    The setup lists the latest visits that posed as a known bot without the IP address confirming it.

What BotShield does not do

BotShield eliminates ordinary bots: scripts without JavaScript, mass requests, password attempts in a row. A bot equipped with a real browser can solve the calculation, but each attempt costs it time, and that is what makes the attack unprofitable.

For complete protection, we recommend combining it with server-side rate limiting, for example fail2ban or nginx rate limiting. We can help you set it up.

A specific need around BotShield?

We install it, configure it and adapt it to the way you work. And if the module is not enough, we develop what is missing.