BetterShield
Appearance

Login & Access: what is on the screen

7 min read

A tour of Login & Access: who is at the door, recent sign-in attempts, sign-in protection, form limits, allow and block lists, and sessions.

In BetterShield, Login & Access decides who may try to sign in, how often, and how long people stay signed in. It is on BetterShield › Protection › Login & Access. This page walks the screen from top to bottom. Each part has its own guide, linked below.

At a glance

The strip at the top, Login & Access at a glance, has four tiles: Visitor addresses (Readable when BetterShield can tell visitors apart, or Not visible with “Lockouts are off.” or, behind a proxy, “Behind a proxy. Lockouts are off.”, and a See why link), Lockouts (lockouts running now), Protections (how many of its thirteen protections are on: the seven switches and the six Signing in fixes) and Signed in (accounts signed in right now). While this site cannot see visitor addresses, Sign-in attempt limits is not counted as on.

Login & Access: what is on the screen: saved state and available controls in BetterShield.
Review the state and choices shown on your own site before applying a change.

How this site sees you

The first part of the Your connection and lockouts card reads the request you just made, shows the address you connect from (and what Cloudflare says, when it is in front), and says whether automatic lockouts are active. If lockouts are not active, it says why and what fixes it, usually naming your proxy under Addresses of your CDN or proxy. Behind Cloudflare, lockouts already run, and the card asks you to press Yes, This Site Is Behind Cloudflare so each one follows a single visitor. Neither address is stored. See Proxies and Cloudflare.

Lockouts

Below it, Lockouts lists recent lockouts on sign-in and on the three public forms, running ones first, with the columns Address, Attempts, When, Status and Actions. Each row names the network as a /24 (IPv4) or /64 (IPv6), because BetterShield keeps no more of an address than that, but a lockout applies only to the one IPv4 address that kept failing (or the one IPv6 /64). Release Now ends a running lockout. See Sign-in lockouts.

Recent sign-in attempts

The Recent sign-in attempts card sits between the connection and lockouts card and Sign-in protection. With 7 days (the default) or 30 days chosen under Period, it adds up the failed sign-ins in the activity log. Top networks lists the five networks with the most tries, and Names tried the ten names tried most. Each line opens Site activity narrowed to it. A name that does not belong to an account has a Block button, which adds it to Never allowed to sign in at once. Someone who may list the site’s users also sees Account and Blocked marks. See See who is trying to sign in.

Sign-in protection

Four switches:

SwitchDefaultGuide
Sign-in attempt limitsOn: 5 failures in 15 minutes, locked out 15 minutesSign-in lockouts
Block simple bots on formsOnHidden bot check
Ask for a sign-in puzzle after wrong passwordsOffSign-in lockouts
Tell account holders about sign-ins from a new networkOffNew-network sign-in email

The account is never locked: a lockout applies to the connection the failures came from. The proof of work only runs while Sign-in attempt limits is on, because it reads the same count. While this site cannot see visitor addresses, Sign-in attempt limits shows a yellow On, not running badge, with “Not running until this site can see visitor addresses.” and a See why link to the connection card.

Signing in

Eight one-click fixes that change how signing in works, all off until you apply them, each with its own guide: Change the sign-in address, Block app passwords, Block leaked passwords, Keep customers and subscribers out of the dashboard, Hide the dashboard from visitors Sign everyone out on demand, shorter privileged reset links and confirmed privileged email changes. Each is applied and undone from its own row, not with the Save bar, and works like the fixes on Hardening (preview first, an undo), and also checks your way back in before it applies.

Request protection

Comments, password reset requests and sign-ups, each with its own limit and counted apart from sign-in, so a busy form can never lock you out of your dashboard. Every submission counts, and the one that reaches the limit is itself held or slowed. Changed numbers are replayed against the form’s last two days before you save. See Public form limits.

Allow and block lists

Always allowed holds addresses that are never locked out, never counted by form limits and never given the proof of work. Never allowed to sign in refuses sign-in, never browsing, by address, username or user-agent fragment. Addresses of your CDN or proxy names your own reverse proxies so the visitor address they forward can be believed. A name tried at sign-in can be added to Never allowed to sign in in one press from Recent sign-in attempts. See Allow and block lists and Proxies and Cloudflare.

Server firewall

One switch, off by default: Send lockouts to the server’s firewall. Each time sign-in or a public form locks out a connection, one line goes to this server’s auth log naming the network (a /24 for IPv4, a /64 for IPv6), never an address or a username, so a firewall jail on the server, such as Fail2Ban, can block that network before it reaches WordPress. A comment burst held for moderation writes nothing, and neither does a network holding an address on Always allowed. A sample Fail2Ban filter and jail come with the plugin, in its fail2ban folder. If your host decides it for every site it runs, the switch reads Set by your host; on a multisite network it is set from the main site. It saves with Save and is not counted under Protections. See Server firewall.

Signed-in devices

Under Signed-in devices, Sign out after idle (minutes) and Devices signed in at once, per account apply to every role, store customers included. Who is signed in lists each signed-in account, with Sign out all their sessions beside it and Sign out everyone you can below. See Sessions.

Saving changes

Switches, numbers and list entries wait in a bar that reads Unsaved changes., with Discard and Save. If a number is left empty, the bar says so and Save waits. Some controls act at once instead: Yes, This Site Is Behind Cloudflare, Turn That Off, Release Now, Block on Recent sign-in attempts, the two sign-out buttons (after Yes, do it), and the Signing in fixes.

Good to know

  • Password confirmation. With Ask for my password before removing a protection on (BetterShield › Settings › General), a save that loosens anything here asks for your password first: a switch turned off, a limit raised, a shorter window or lockout, an address allowed, a block removed, a proxy or Cloudflare trusted, or a session limit loosened. Release Now and both sign-out buttons ask too. Tightening never asks, and once you confirm, it does not ask again for 15 minutes. These actions also need a signed-in browser: an application password cannot make them.
  • Safe mode. Your recovery link, a recovery code or wp bettershield recover turns on safe mode, which pauses everything on this screen except the strengthened sign-in keys (they stay in use, so nobody is signed out): lockouts, both lists, form limits, the bot check, the proof of work, the idle sign-out, the session limit, the new-network email and the other Signing in fixes. It clears nothing, so a lockout still running applies again when safe mode ends. See Locked out.
  • Activity log. Every save is recorded as “Login protection changed”. A save that takes a protection off or loosens it is rated High, so email alerts send it as it happens: switching off the attempt limit, the bot check, the proof of work, a public form or the new-network email, raising Failures allowed or a form’s limit, shortening a counting window or a lockout, turning the idle sign-out off or lengthening it, or raising or removing the session limit. Allowing an address, removing a block, trusting a proxy or Cloudflare, or switching off the server firewall line, on their own, are rated Medium.

On multisite

Each site keeps its own counts, lockouts, lists and settings, and the screen says so beside the numbers. Sessions belong to the account, which every site of the network shares, so ending a session ends it on every site.

Close the open doors today

Install the free plugin. The first audit runs when you activate it, and all but one of the fixes wait for your choice.

Requires WordPress 6.7 or newer and PHP 8.0 or newer.

Get BetterShield