Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

Account lockout

For administrators of public sites - Exponential's account lockout after failed sign-ins is off by default; how to enable it, how to keep your own network out of it, the trade-off with deliberate lockouts, and how to…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/security/account-lockout.md

On this page

Account lockout

This page is for administrators. Exponential can lock an account after a number of failed sign-ins, but the lockout is off by default (settings/site.ini [UserSettings] MaxNumberOfFailedLogin=0). Brute force is detected by the audit's alert rules either way; the kernel does not throttle sign-ins by itself (Security standards: Known gaps).

Contents

  1. The trade-off
  2. Enabling it
  3. Unlocking accounts
  4. Alternatives and complements
  5. Related pages

The trade-off

With lockoutWithout lockout
password guessing against one account stops after N triesguessing can continue, slowed only by the web server or request-shield
anyone who knows a login can lock that account on purposeno deliberate lockouts
locked staff need an administratorno support calls

Public bodies often publish staff names, which makes logins guessable; weigh both sides and record the decision.

Enabling it

# settings/override/site.ini.append.php
[UserSettings]
MaxNumberOfFailedLogin=10
TrustedIPList[]
TrustedIPList[]=203.0.113.0/24
ShowMessageIfExceeded=false
  • MaxNumberOfFailedLogin: failed attempts before the account is locked until an administrator unlocks it.
  • TrustedIPList[]: addresses never locked out, for example your office network, so an attack from outside cannot lock staff out while they are in the office.
  • ShowMessageIfExceeded: whether the user is told that the account is locked.

Behind a proxy, configure TrustedProxies[] first, or every visitor has the proxy's address (13.10). Wrong two-step sign-in codes count as failed logins too. Clear the INI cache and reload PHP after the change.

Unlocking accounts

  • One account: open its account page (/user/edit/<id>); the badge says Locked; Account settings resets the failed sign-ins (Security and audit, 6).
  • Several: Users > Check user accounts (/user/hygiene), filter Locked, tick, Unlock, Confirm. Each unlock is recorded as access.user.unlock (Check user accounts).
  • Before unlocking, look at the failed sign-ins in the Audit console: /audit/console/(name)/access.session.login.failed. Many failures from unknown networks mean an attack: change the password as well.

Alternatives and complements

  • Two-step sign-in makes a guessed password useless on its own (see "Two-step sign-in for public staff").
  • The request shield (part of the default installation since 6.0.15) slows sign-in floods and puts a browser check before the sign-in form.
  • Alert rules brute_force (20 failures from one network in 5 minutes) and brute_force_user (10 for one account in 15 minutes) report attacks to the alert recipients.
  • Restricting the administration to your network removes most guessing from the internet.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x