Skip to content

Attack protection

If someone keeps entering a wrong password or code, authN slows down their further attempts and then blocks them for a while. You can change how this works under Lockout and bots: how many attempts are allowed, how quickly the delay grows, and whether attempts are counted per user or per user and address.

The lock applies to every way of signing in, so switching from passwords to emailed codes, authenticator codes or recovery codes doesn’t get around it.

Sign-up and sign-in can include an invisible check that the visitor is a person, using Cloudflare Turnstile by default. You can choose which actions it protects. On the Paid plan, you can use your own Turnstile or Google reCAPTCHA keys.

Every project limits how often a single address can sign in, sign up or request tokens, and also limits the project as a whole according to its plan. Requests over a limit receive 429 Too Many Requests.

On the Paid plan, you can block individual IP addresses, ranges (CIDR) or whole countries. Blocked visitors can’t reach any of the project’s pages or endpoints.

When someone chooses a new password, it’s checked against passwords that have appeared in known breaches. The password itself is never sent anywhere to do this.