2 Intermediate pathLesson 10 of 10 6 min read

Everyday security

  1. 1. Visual mode
  2. 2. Themes and appearance
  3. 3. Art directions and Design score
  4. 4. Custom CSS
  5. 5. SEO with Éclair
  6. 6. GEO: getting cited by AI
  7. 7. Build a multilingual site
  8. 8. Blog, categories and topic clusters
  9. 9. Sell with the lightweight shop
  10. 10. Everyday security
Contents
  1. A strong password
  2. How do you turn on two-factor authentication?
  3. Administrators and editors: to each their own permissions
  4. Sessions and sensitive actions
  5. The Security page, block by block
  6. Everyday security in 30 minutes a month
  7. Key points
  8. Going further
  9. Frequently asked questions

Éclair is designed for a hostile environment, but everyday security also depends on you: a good password, two-factor authentication, accounts suited to each person and regular visits to the Security page. This lesson guides you step by step, then suggests a 30-minute monthly routine, the one followed by Atelier Nova and its two instructors.

What you'll be able to do

Lock down your account

A strong password and two-factor authentication with backup codes.

Give the right permissions

Administrators, editors, temporary passwords and sessions.

Keep an eye on your site

Integrity check, protection test, log and backup.

A strong password

Éclair hashes passwords with Argon2id, an algorithm designed to make brute-force attacks expensive, and refuses passwords that are too weak:

The tip shown below the field is the right one: “a 4-word phrase is strong and easy to remember”, with words that have nothing to do with each other. Better still, use a password manager. To change your password, open My profile, Password section, enter the Current password then the New password, and click Change password: your other devices are logged out.

Against bots, each network gets 10 attempts every 15 minutes, and each account 30 per hour. Your usual device has its own counter: an attacker who fails on purpose can't lock you out.

How do you turn on two-factor authentication?

  1. Open My profile, Two-factor authentication (2FA) section, and click Enable two-factor authentication.
  2. Open your authenticator app (Google Authenticator, Microsoft Authenticator, 1Password, Bitwarden…) and scan the QR code, or type in the key shown.
  3. Enter the 6-digit code shown by the app, then click Confirm and enable.
  4. Write down the 8 backup codes: they're shown only once. Click Copy codes and store them in your password manager, or print them.

From then on, at every login, Éclair asks for this 6-digit code, which changes every 30 seconds. If the code is refused during activation, check your phone's clock: a time drift is enough to make the code wrong.

Lost your phone? Enter one of your backup codes, in the format abcde-12345, instead of the code: each one works only once. My profile shows how many backup codes you have left, and the New backup codes button generates a new set. After 10 wrong codes, the account's two-factor authentication is locked for 15 minutes and its owner is notified by email.

My profile, Two-factor authentication section: activation by QR code and backup codes
Two-factor authentication is set up in My profile

Administrators and editors: to each their own permissions

RoleWhat it can do
AdministratorEverything: settings, users, the Security page, and everything an editor does
EditorWrite and publish in Content, manage Media, Categories, Menus, Messages and Redirects; use the AI assistant if “Editors can use the assistant” is checked

To invite one of Atelier Nova's instructors:

  1. Open Users, then the Invite someone form.
  2. Enter her Name and Email, keep the Role “Editor”, then click Create account.
  3. Éclair generates a secure temporary password, in four groups of 4 characters: share it in person or through a secure channel.
  4. At her first login, she must replace it with her own password before she can access the rest of the admin.

The Users list shows, for each account, its role, the status of its two-factor authentication (Enabled or No) and its Last login. An account's page lets you Reset password, Disable 2FA if the person has lost their phone, or Delete account: their content stays online.

The list of users with their role, two-factor authentication status and last login
One glance is enough to spot an account without 2FA

Sessions and sensitive actions

The Security page, block by block

BlockWhat it doesYour action
Protection levelScore based on 7 checks: HTTPS enforced, verified address, 2FA for all administrators, custom admin URL, PHP 8.2 or later, Argon2id, HSTSAim for 100%
Folder protection testYour browser tries to open internal files, such as data/site.phpEverything must stay inaccessible
File integrityCompares each file with its original fingerprint and looks for suspicious filesScan now, then read the modified, missing, unknown or suspicious files
BackupZIP archive of data/ and media/Download a backup and store it off the server
Sessions and blocksAddresses blocked after too many failuresUnblock an address, Log everyone out
Security logLogins, failures, 2FA, accounts, backupsSpot anything out of the ordinary
The Security page: protection level, folder test, file integrity and backup
The Security page, your protection dashboard

Until the site address is verified, a Verify the site address button is shown, and Éclair doesn't redirect anyone to that address. If verification fails, your server can't reach itself (host firewall, domain not propagated yet): the site works, so try again later.

Two ways of reading the integrity check are worth knowing: templates you've customized appear as modified, which is normal; old files left behind after an update appear as unknown, hence the instruction to delete app/ and assets/ before uploading a new version. As for the backup, it excludes the assistant's API keys, the conversation history and the sessions: after a restore, enter your keys again.

Everyday security in 30 minutes a month

StepWhereTime
Download a backup and store it off the serverSecurity › Backup5 min
Run the integrity checkSecurity › File integrity5 min
Read the security logSecurity › Security log5 min
Check the accounts: 2FA, last login, departuresUsers5 min
Revoke the MCP access you no longer useSettings › AI assistant2 min
Check the protection level and new releasesSecurity, and Éclair's GitHub repository8 min

Atelier Nova has put this everyday security routine in its calendar, on the first Monday of each month. And on the day an instructor leaves the studio, her account is deleted that same day, without waiting for the next routine.

Key points

Going further

Frequently asked questions

I've lost my phone, how do I log in again?

Enter one of your backup codes instead of the 6-digit code. Another administrator can also disable your 2FA from Users. With no code and no other administrator, the data/reset.php file procedure, described in the troubleshooting page, restores your access.

Can an editor change the site's settings?

No. Editors can access content, media, categories, menus, messages and redirects, but not the settings, the users or the Security page.

What is the site address verification for?

Éclair only redirects visitors to the official address, with or without www, after checking that it really leads to your site. That way, a wrong or tampered address can't hijack anyone.

Should I turn on HSTS?

Yes, once HTTPS is fully in place: the HSTS option in Settings › Advanced tells browsers to use only HTTPS for a year. Only turn it on when your whole site responds properly over HTTPS, because browsers remember this choice.

All the lessons of this path