EN

Documentation

Setting up BotShield

Installation, configuration and use, step by step.

Prerequisites and points of attention

  • HTTPS required: the calculation uses the browser’s cryptography functions, only available over a secure connection. Over HTTP, nobody can log in to Dolibarr any more (except whitelisted IPs).
  • JavaScript enabled on the login page, including in DoliDroid.
  • Behind a reverse proxy or a CDN, declare its IP address in the setup: this is the condition for visitors not all sharing the same address.
  • Content-Security-Policy: if you enforce one, it must allow the widget’s blob: and data: workers.
  • Versions: Dolibarr 18 and above, API protection from Dolibarr 22. The PrestaShop module is tested on PrestaShop 8.

If nobody can log in to Dolibarr any more, disable the module directly in the database:

DELETE FROM llx_const WHERE name LIKE 'MAIN_MODULE_BOTSHIELD%';

To unblock all IP addresses without being able to log in:

DELETE FROM llx_botshield_ip;