4. Setup
4.1 Installation
Drop the plugin in plugins/moresecurity (the release package already includes the libraries it needs; from a git checkout run composer install first), then install and activate it from Setup > Plugins. It requires GLPI 12.0.0 or later, below 12.1.0; use the 2.x releases on GLPI 11.
4.2 Configuration
Protection starts only when you set the limits: every count at 0 is switched off. Open Setup > General > More Security and set, at least, Number of attempts (accounts), Attempts for Password Reset (emails) and Max attempts per IP (addresses). Add your offices to the whitelist and, if GLPI is behind a reverse proxy, to Trusted reverse proxy IPs.
4.2.1 Automatic actions
- updatedb (monthly, external mode, 03:00 to 04:00) — downloads DB-IP's IP to Country Lite database used by geoblocking. It makes no request while geoblocking is disabled and a database is already present.
- Purge (daily) — removes the counters of accounts, addresses and emails that have been inactive for more than 7 days and are not under an active block.
- PurgeLogs (daily) — removes Security log entries older than its Retention period (days) parameter, 30 by default.
4.3 Permissions
- Changing the More Security settings, the whitelist and unblocking needs the same right as changing the general GLPI configuration (update on Setup > General); there is no separate right to manage.
- Security log (More Security tab of a profile) is a read-only right. It gives access to the Security log pages, to the dashboard cards and to the Active blocks list. At installation it is granted to the profiles that can already edit the configuration. Nobody can edit or delete a log entry.
- The log and the cards are not filtered by entity: attempts happen before there is a session or an entity.
- The simplified interface does not show the More Security tab of a profile.
4.4 Limiting login and password reset attempts
Two independent limits protect the GLPI login form and the "forgotten password" form: one counts the failed logins of an account, the other counts the reset requests of an email address. Both live on the More Security tab of Setup > General.
4.4.1 Open the More Security tab

Setup > General > More Security
4.4.2 Set the login attempt limit
In Login attempts, Number of attempts is how many wrong passwords an account accepts before it is blocked; 0 switches the protection off. Access time blocked is the first block duration: every further wrong attempt doubles it, up to Max access time blocked (backoff cap). A correct login releases the counter, and the counter is forgotten after 12 hours without attempts.

Login attempts: after 5 wrong passwords the account is blocked for 5 minutes
Note: The number of attempts must be greater than Max attempts per IP (see the IP blocking chapter). If it is not, More Security uses the IP limit plus one, so that one address cannot lock an account for everybody before it is blocked itself.
4.4.3 Set the password reset limit
In Password reset attempts, Attempts for Password Reset is how many reset requests one email address can make before it is blocked, and Access time blocked for Password Reset is how long the block lasts. These requests also count against the per-IP budget, so nobody can lock the reset of an email address without getting their own address blocked first.

Password reset attempts: 3 requests, then a 10 minute block
Note: Durations use the usual GLPI format: 0h05 is five minutes. Every change is saved with the Save button at the bottom of the tab and applies immediately.
4.5 Blocking addresses and whitelisting trusted networks
Besides the per-account and per-email limits, More Security counts the failed attempts of every client address, whatever account or email they target. An address that goes over its budget is blocked on its own, for the login form and the password reset form alike.
4.5.1 Set the per-address limit
The IP blocking card has four settings. Max attempts per IP is how many attempts one address may make before it is blocked (0 disables it); IP block duration and Max IP block duration (backoff cap) work like the account block: each further attempt doubles the wait up to the cap. IP threshold detects a coordinated attack: when the attempts against one account come from at least that many different addresses, the account is blocked for the cap, even if no single address went over its limit.

IP blocking: 4 attempts per address, and a distributed attack detected from 3 addresses
Note: IPv6 addresses are counted per /64 prefix, so rotating inside the same network does not reset the counters.
4.5.2 Tell More Security about your reverse proxies
By default the client address is the one that opens the connection to GLPI. Behind a reverse proxy or a load balancer every user would share the proxy's address and one failed login would count against everybody. In Trusted proxies, list the addresses of your proxies, separated by commas: only for requests that come from one of them, More Security reads the real client address from the X-Forwarded-For header.

Trusted reverse proxy IPs
⚠️ Warning: Do not add a proxy to the whitelist unless you accept that all its clients skip the checks. Only list real proxies under Trusted reverse proxy IPs: the header is trusted blindly when the request comes from them.
4.5.3 Open the whitelist
Networks that must never be blocked, such as your own offices, go in the whitelist, found in Setup > Dropdowns as Whitelist. A login or reset request from a whitelisted address skips every address limit and the geoblocking. Each entry has a name, a value and an optional comment.

The whitelist with the office network
4.5.4 Add a network to the whitelist
Click Add, give the entry a name, and type a single address (IPv4 or IPv6) or a network in CIDR notation, such as 198.51.100.0/24. Add a comment to remember why it is trusted, then click Add. More Security checks that the value is a valid address or range before saving it.

Adding a network to the whitelist
4.6 Allowing or denying logins by country
Geoblocking refuses a login according to the country the client address belongs to. It applies to logins only, not to password reset requests, and whitelisted addresses skip it.
4.6.1 Choose the geoblocking mode
In the Geoblocking card, Mode can be Disabled, Only allow these countries or Block these countries, and Countries is the list the mode applies to. A refused login is written to the Security log and counts against the budget of its address, so a persistent origin ends up blocked.

Block the logins that come from three countries
4.6.2 Pick the countries
Click the Countries field and type the name of a country to find it; select as many as you need and remove one with the cross on its label. Save the tab to apply the change. If you choose Only allow these countries, the list cannot be empty: More Security refuses to save it and keeps geoblocking disabled.

Searching for a country
Note: Country data comes from DB-IP's free IP to Country Lite database (CC BY 4.0), which the updatedb automatic action downloads once a month. Until it is downloaded, and for private, reserved or unresolvable addresses, geoblocking lets the login through.
4.7 Automatic actions and data retention
More Security registers three automatic actions. They only keep the plugin's own data tidy: blocking and unblocking happen instantly when an attempt arrives.
4.7.1 Set how long the Security log is kept
Open Setup > Automatic actions and look for PurgeLogs. It runs daily and deletes the Security log entries older than its Parameter, 30 days by default. Change the value to match your retention policy: logins, emails and IP addresses are personal data.

The PurgeLogs automatic action
Note: Purge (daily) removes the counters of attempts that have been inactive for more than 7 days and are not under an active block. updatedb (monthly) refreshes the GeoIP database used by geoblocking. The log never keeps more than 200 entries per address and hour, so an attacker cannot inflate it.
4.8 Choosing who can see the Security log
Changing the More Security settings needs the same right as changing any other general GLPI setting. Reading the Security log and the dashboard cards has its own right, set per profile.
4.8.1 Give a profile the Security log right
Open Administration > Profiles, choose a profile and go to its More Security tab. Tick Read on the Security log row and save. The right is read-only for everybody: nobody can edit or delete a log entry. When the plugin is installed, the right is granted to the profiles that can already edit the GLPI configuration.

The Security log right on a profile
⚠️ Warning: The Security log is global: attempts happen before there is a session or an entity, so the log and the dashboard cards are not filtered by entity. Grant the right only to profiles that may see the logins, emails and addresses of the whole instance.
Generated for More Security 3.0.1 on GLPI 12.0.2 — 2026-11-25.