Get 35% OFF with Cyber Monday coupon CYBERMON2026  |  Plus 3 months of free hosting →
PrestaShop Module

Admin Bruteforce Protection for PrestaShop

Bots try thousands of passwords on every PrestaShop shop, every day. Close the door before they get in: limits and growing bans, logins only from your countries, a back office address only you know, a security check without third parties, and two-factor for your team.

Last Update: 4 Dec 2026
Version: 2.0
Compatibility: PrestaShop 1.7.8 or newer, 8 and 9 (tested up to 1.7.8.11, 8.2.8 and 9.1.5), PHP 7.2 or newer (PrestaShop 9: PHP 8.1 or newer)

Why protect the login

Bots do not look for your shop, they look for any login form. They try common usernames and leaked passwords day and night, on the back office login, the customer login and the password reset forms. Each attempt costs your server time, and one weak password is enough to lose the shop and the data of your customers. Admin Bruteforce Protection counts every failed login on every entry point, bans the addresses that guess, and makes the back office login itself harder to find and harder to pass.

What it does

  • Failed login limits. After 5 failed logins in 15 minutes the address is banned, and every repeat bans it longer: 15 minutes, 1 hour, 1 day, 7 days. Real accounts are never locked by username alone, so an attacker cannot lock you out.
  • Trap usernames. Logins as admin, administrator, root, test or demo are banned at once. Unknown email addresses count double.
  • Every entry point. The back office login and its password reset, the customer login on the account page and in the checkout, the customer password reset, and the Admin API of PrestaShop 9.
  • Allowed countries. Back office logins from other countries are refused before the login form is shown. Addresses in your allowlist always pass. Customers follow the countries only if you turn that on.
  • Secret back office login address. The back office login answers "not found". You log in at your-admin-folder/?your-key, and bots stop at the door.
  • Security check without Google. A check that runs in the browser, without third-party services and cookies. Prefer reCAPTCHA, Cloudflare Turnstile or hCaptcha? Choose one and enter your keys.
  • Two-factor for the back office. An authenticator app or a code by email, backup codes and trusted devices for 30 days. You can require it for all administrators. Employees who already use the two-factor of SiteGuarding Security Suite are not asked for a second code.
  • Hidden usernames. The same error for a wrong email address and a wrong password.
  • Alerts and a log. Email alerts when an administrator logs in from a new place, an address is banned, a new administrator appears or the email or password of an administrator changes. Every attempt in the activity log.
  • Multistore. One installation protects every shop of your PrestaShop, with one set of settings, bans and log for all shops.

You cannot lock yourself out

  • Your own address goes to the allowlist when you save, and the module warns you when your country is not in the list.
  • Monitor mode: the module only writes to the log, nothing is blocked, until you are sure.
  • An unlock link by email for administrators who banned their own address.
  • An emergency switch: an empty file sgabp-disable.txt in the root folder of the shop turns the protection off.

Light on your server, private by design

  • On the pages of your shop the module only checks whether the request is a login or a password reset: no database query of its own, no outside service.
  • A visit never waits for an outside service: the country database, the licence and updates are handled in the background, after the pages of the back office.
  • Everything is stored on your own server. Passwords and codes are never stored or sent; secrets of two-factor are encrypted, email codes and backup codes are stored as hashes.

Screenshots

Free and Pro

Free Admin Bruteforce Protection
Admin Bruteforce Protection Pro
Failed login limits, growing bans, trap usernames YES
Every entry point, hidden usernames, limit of password resets YES
Distributed attacks on one username, bans of whole networks, under attack mode -
Allowed countries Up to 3
Country database Updated every 30 days
IP allowlist and blocklist Up to 5 each
Secret back office login address YES
Security check: built-in, reCAPTCHA, Turnstile, hCaptcha YES
Two-factor: app, email codes, backup codes, trusted devices YES
Two-factor required for administrators YES
Customer logins: limits and the security check YES
Session timeout for employees YES
Alerts Email
Activity log 30 days

Pro is an add-on to the free module, with a 14-day free trial. Plans, prices and the trial:

FAQ

I lost the secret back office address. How do I get in?

The address is in the email the module sent to the administrators when you saved it. If that email is lost too, put an empty file named sgabp-disable.txt in the root folder of the shop: all checks stop until you remove it. Log in at the usual back office address and choose a new key.

I banned my own address.

Open the back office login and use "Locked out of your own site?": an unlock link goes to the email of the administrator. Or wait until the ban ends, or use the emergency switch.

Does it protect the Webservice?

Not in version 2.0. The Webservice of PrestaShop works with keys, not passwords: keep them long and secret, and if no app uses the Webservice, turn it off in Advanced Parameters > Webservice. The Login Protection screen shows this. The Admin API of PrestaShop 9 is protected.

Will my customers be affected?

They get the same limits and the security check. Countries apply to customer logins only if you turn that on.

Which PrestaShop versions are supported?

PrestaShop 1.7.8 or newer, 8 and 9. One file for all of them.

Does it send data to other services?

No, unless you choose reCAPTCHA, Turnstile or hCaptcha for the security check, or Telegram, Slack or a webhook for the alerts (Pro). The country database is updated from siteguarding.com in the background.

What happens when I remove the module?

The data stays unless "Delete all data when the extension is removed" is on in Settings & Tools.

Requirements

PrestaShop 1.7.8 or newer, 8 or 9 (tested up to 1.7.8.11, 8.2.8 and 9.1.5), PHP 7.2 or newer (PrestaShop 9: PHP 8.1 or newer). MySQL or MariaDB.

Download

Free, no account needed. One file for PrestaShop 1.7.8, 8 and 9.

Installation

1. In the back office, open Modules > Module Manager, click "Upload a module" and choose prestashop-admin-bruteforce-protection.zip. PrestaShop installs it.

2. Failed login limits start at once.

3. Open Bruteforce Protection in the Configure section of the menu and follow the checklist on the Dashboard: allowed countries, two-factor for administrators, the secret login address.

Pro: upload the Pro add-on the same way, next to the free module, click Configure on it and enter your licence key on its Pro screen.

Updates

When a new version is out, the screens of the module show it with a download link and the steps: download the new file, open Modules > Module Manager, click "Upload a module" and choose it. If PrestaShop then offers an Upgrade button for the module, click it. Settings and data are kept.

Changelog

2.0
First version for PrestaShop 1.7.8, 8 and 9, on one core with the WordPress, Joomla and OpenCart editions: failed login limits with growing bans on the back office login, customer logins, password resets and the Admin API of PrestaShop 9, trap usernames, allowed countries, IP lists, a secret back office login address, a built-in security check or reCAPTCHA, Turnstile and hCaptcha, two-factor with an app, email codes, backup codes and trusted devices, hidden usernames, session timeout, email alerts, activity log and protection from locking yourself out.

Live Chat Support
Our website uses cookies, which help us to improve our site and enables us to deliver the best possible service and customer experience. See our policy Accept