Securing your PrestaShop shop, from passwords to robots

A tour of the three doors of a PrestaShop shop, the back office, customer accounts and forms, with what PrestaShop does by itself and what is missing.

Securing your PrestaShop shop, from passwords to robots
Quick answer

Up to 9.2, PrestaShop does not limit password attempts and has neither two-factor authentication nor anti-spam. Three doors remain to be closed, the back office, customer accounts and the forms: Easy Secure Login takes care of them, with most protections free.

VideoVideo in French

Sécurité PrestaShop : anti-robots, double authentification, clé d'accès | Easy Secure Login

The Gekkode YouTube channel publishes more videos about AI and code.

Subscribe to support the channel

A PrestaShop shop is attacked through three entrances: the team’s sign-in to the back office, customers’ sign-in and the forms open to everyone. This guide goes through these three doors, says what PrestaShop does by itself and what it lacks, and leads to a detailed article for each case. Hosting, backups and updates need their own guides and are left aside.

What PrestaShop does by itself, and what it lacks

According to its code, PrestaShop puts no limit on password attempts from 1.7.6 to 9.2, neither on the customer side nor in the back office. It offers no two-factor authentication, no access key, no sign-in link, no captcha and no robot trap. Its only safeguard makes you wait before asking for a new password again. Version 9.1.5, installed for this guide, confirms the finding. The modules shipped with PrestaShop for contact, newsletter and sign-in have no anti-spam either.

Easy Secure Login, published by Gekkode, adds these protections to PrestaShop from 1.7.6 to 9.x, on the Classic and Hummingbird themes. Each one is optional and can be switched off in a click, and a protection that is switched off leaves PrestaShop’s sign-in as it was.

PrestaShop is preparing its own two-factor authentication for the back office, planned for 9.3, which had not been released on 30 November 2026. Once that feature is switched on, the module will leave the team’s sign-in to it, as the article on two-factor authentication explains.

Protection PrestaShop alone, up to 9.2 With Easy Secure Login
Blocking passwords tried at random No Free, customers and team
Team two-factor authentication No Free, by app, with recovery codes
Invisible robot trap No Free on sign-in and account creation, Pro on the other forms
Cloudflare invisible captcha No Free, on the protected forms
Access key and sign-in link No Pro
Customer two-factor authentication No Pro
Email alerts, trusted addresses No Pro

First door, the back office

The back office is the shop’s administration area, with the orders, the customers and the payment settings. A single employee password is enough to get in. Two-factor authentication also asks for a six-digit code, shown in a free phone app. The two-factor authentication guide switches it on for your account, then for the whole team, with ten recovery codes per person.

Blocking attempts, for its part, stops the robot that guesses passwords. The CNIL recommends limiting attempts and considers two-factor authentication safer than a password alone. OWASP, a non-profit foundation that publishes security guides for the web, puts multi-factor authentication in the front line.

Second door, customer accounts

A customer who uses the same password elsewhere exposes their account with you the day the other site has its data stolen. This is credential stuffing, covered in the article on brute force: robots try on your shop the emails and passwords stolen elsewhere. Blocking puts a ceiling on attempts, with adjustable thresholds, a message that does not say whether the account exists and an unblock button for customer service.

The Pro plan adds what lets you do without the password: the access key, approved by fingerprint or face, and the sign-in link sent by email. The article on the passkey and sign-in link shows both on the test shop.

Third door, the forms

Account creation, sign-in, contact, forgotten password, newsletter: these five forms receive data from strangers, with no anti-spam at all in PrestaShop. The module’s robot trap stops, without asking customers for anything, those who send the form without opening the page. The guide to spam and fake accounts explains how it recognises them, form by form.

That leaves the robot that imitates a person and really opens the page. The module sets Cloudflare’s invisible captcha against it, presented in the Turnstile tutorial. If you use reCAPTCHA today, the article on the alternative to reCAPTCHA says what each approach costs your customers.

Where to start

  1. Install the module from PrestaShop’s Module Manager, with the ZIP from your customer area. On first launch, it asks what you want to protect, the shop, the back office or both. Only password blocking and the robot trap are ticked by default.
  2. Protect your own account in the “My security” tab: app, image, code, ten recovery codes, in four steps.
  3. Keep the default blocking thresholds, 5 errors for an account and 20 for an internet address.
  4. Make two-factor authentication mandatory for the team, leaving everyone time to get set up.
  5. Add Cloudflare’s captcha if fake accounts still get through despite the trap.
  6. Go Pro if your customers should be able to get in without a password, or if contact and newsletter receive spam.

The module’s dashboard then sums up in one sentence where you stand and what is left to do. On the test shop, it showed “Your shop is well protected” once the protections were on, with a “To do” list for blocks in progress.

The module's dashboard: “Votre boutique est bien protégée”, a To do list with a blocked customer, three cards Your customers, Your team and Automatic defences, and the figures for the last seven days
The dashboard: the state of the defences, what is left to do, and the last seven days (screenshot of the French interface).

Keep an eye on it

The “Activity” tab records every sign-in, every block, every robot stopped and every settings change, for 90 days in the free version and a year in Pro, with an export. The Pro plan’s email alerts warn when a team member is blocked, when a member’s protections are removed or when robots arrive in large numbers. For everyone, the advice from Cybermalveillance.gouv.fr stays the same: a long password, different for each service, and two-factor authentication wherever it exists.

Free or Pro

The free version protects the shop and the team: blocking attempts, robots stopped on sign-in and account creation, Cloudflare’s invisible captcha, team two-factor authentication, help for blocked people and 90 days of history. The Pro plan (€2 a month, or €19.20 a year) adds the sign-in link, access keys, customer two-factor authentication, an email code for the team, robots stopped on all forms, alerts, trusted addresses and a year of history.

What to remember

  • From 1.7.6 to 9.2, PrestaShop does not limit password attempts and has neither two-factor authentication nor anti-spam.
  • Three doors to close: the back office, customer accounts and the forms.
  • The module’s protections are optional, and most are free.
  • Start with your own account, then make two-factor authentication mandatory for the team.

To install the module, the Easy Secure Login page gives the ZIP, the details of the plans and the supported PrestaShop versions.

Common errors

Test keys, or keys from two different widgets Test keys let robots through, and two different widgets make the test fail. Copy both keys from your own widget.
Recovery codes never put away Without the phone and the codes, you can no longer get in on your own. Put the 10 codes away as soon as you activate two-factor authentication.
A per-address limit lower than the per-account one A single customer who makes a mistake then blocks a whole office. Keep the per-address limit above the one for an account.

PrestaShopSécurité

Damien Flandrin Web developer since 2010, creator of Gekkode and Email Impact. Every article is tested on a real project before publication. Contact
Newsletter

New tests, tutorials and projects, by e-mail.

Reproducible tests, versioned code, dated results. Never any spam.