Skip to content

Protecting the Sign-In Page

Automated attacks on the sign-in page - credential stuffing, password spraying, brute force - are answered by three controls working together. None of them asks a legitimate user to do anything.

CAPTCHA on the sign-in page

The sign-in page carries a CAPTCHA, and the administrator chooses which kind it is. Two approaches are supported, and they suit different environments.

Risk-scored, with no challenge

The default is a bot check that runs in the background and scores the request rather than presenting a puzzle. A user signing in normally sees nothing and is not asked to identify traffic lights or transcribe distorted text; automated submissions are scored and refused.

This is the adaptive form of CAPTCHA. It is the lightest on the user, and it is what we recommend where the sign-in page can reach the scoring service.

Challenge-based, with image and audio

Where an organisation requires a visible challenge - because a policy calls for one, or because an auditor expects to see it - the sign-in page can instead present a challenge-based CAPTCHA:

Type What the user does
Image Selects the matching tiles from a grid of images
Audio Plays a spoken sequence and types what they hear, as an alternative to the image challenge for users who cannot complete it

The audio option is presented alongside the image challenge rather than configured separately, so a user who cannot complete the visual task has a route through without an administrator intervening.

Choosing between them

Risk-scored Challenge
User sees Nothing An image grid, with audio as an alternative
Stops Automated submissions, by score Automated submissions, by task
Best for Everyday sign-in at scale Environments that require a visible control

The CAPTCHA type is set per deployment and can be changed afterwards. Both approaches are provided through an established CAPTCHA service - Google reCAPTCHA is the usual choice, with the risk-scored and challenge modes being that service's v3 and v2 respectively - which means the sign-in page needs to reach that service. Where outbound access from the sign-in page is restricted, raise it during deployment planning so the right option is selected.

Lockout after repeated failures

Repeated failed attempts block the account and the source address. The block is listed with the time it was applied and the time it lifts, and an administrator can release it early. The number of attempts permitted and the length of the block are set per tenant.

See Account Lockout, Idle Timeout and Forced Logout.

A policy response to failed attempts

A risk profile turns repeated failures into an action chosen by the administrator rather than a fixed behaviour. Login Failure and MFA Failure are both risk types, and the action can be Deny Access, Suspend User, Disconnect User or Email Admin.

Applied to a user group, this makes the response to a credential attack specific to the population under attack - an administrator alert for ordinary staff, suspension for privileged accounts.

See Email Alerts and Scheduled Reports.

Phishing resistance

Bot detection stops automation; it does not stop a user being deceived into authenticating on an attacker's page. That is answered by the authentication method itself - a WebAuthn credential is bound to the origin it was registered for and will not be presented to any other site.

See Phishing-Resistant MFA and WebAuthn MFA.

What is recorded

Failed attempts appear in the authentication record, and blocked accounts and addresses on the Blocked Users page with the address they came from. See Audit Logs and Restricting Access by Public IP.

Comments