# Tenant Security Settings

Reference for the fields on the Security tab of the Tenant form in the Admin UI, including CAPTCHA, blocked domains, client risk signals, and rate limits.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

The Security tab sets Login API authentication, IP access control, CAPTCHA, blocked registration domains, client risk signals, and rate limits for the Tenant. An Application can override the Login API settings and the access control list on the Application Security tab. Every Application in the Tenant shares the other settings. To open the tab, navigate to Tenants , click edit on a Tenant, and click Security .

![The Login API, access control list, and CAPTCHA settings on the Security tab of the Tenant form.](https://fusionauth.io/img/docs/screenshots/tenant-security-acl-captcha.png)

## Login API Settings

These settings apply to the [Login API](https://fusionauth.io/docs/apis/login.md). The settings don't affect OAuth authentication.

`Require an API key`

*   Optional

Whether a Login API request without an **`applicationId`** requires an API key.

When the request includes an **`applicationId`**, the Application setting takes precedence. In almost all cases, leave this setting enabled.

`Login validation lambda`

*   Optional
*   Available since `1.53.0`

The lambda that FusionAuth runs during login to perform custom validation.

## Access Control Lists Settings

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

`Access control list`

*   Optional

The IP access control list that restricts access by IP address to the FusionAuth hosted login pages. For example, the list can allow only specific IP addresses to reach authentication pages, such as login and forgot password, for every Application in the Tenant.

When an Application in the Tenant sets an **Access control list**, the Application value overrides the Tenant value for that Application.

## CAPTCHA Settings

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

When you enable CAPTCHA, several theme templates support CAPTCHA. To control CAPTCHA on each template, use the [theme template variables](https://fusionauth.io/docs/theme/advanced-themes/template-variables.md). To show an invisible reCAPTCHA badge on the page, see [Invisible reCAPTCHA](https://fusionauth.io/docs/theme/advanced-themes/helpers.md#invisible-recaptcha).

`Enable CAPTCHA`

*   Optional

When enabled, FusionAuth adds a CAPTCHA challenge to form submissions on the FusionAuth themed pages, to check that a human submits the form.

`Method`

*   Required

The CAPTCHA service. The values are `Google reCAPTCHA v2`, `Google reCAPTCHA v3`, `hCaptcha`, and `hCaptcha Enterprise`.

This field is required when **Enable CAPTCHA** is on.

`Site key`

*   Required

The site key for the CAPTCHA service.

This field is required when **Enable CAPTCHA** is on.

`Secret key`

*   Required

The secret key for the CAPTCHA service.

This field is required when **Enable CAPTCHA** is on.

`Threat score threshold`

*   Optional

The threat score threshold for the CAPTCHA service. When the CAPTCHA service doesn't use a threshold, FusionAuth ignores the value.

## Device Trust Settings

`Device trust duration`

*   Required
*   Available since `1.30.2`

The number of seconds that FusionAuth trusts a browser after the user passes a CAPTCHA challenge. After this time, the user must complete CAPTCHA again. The value must be greater than 0. For more information, see [When FusionAuth Skips CAPTCHA](https://fusionauth.io/docs/security/account-protection/advanced-threat-detection.md#when-fusionauth-skips-captcha).

## Blocked Domains Settings

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

![The blocked domain settings on the Security tab of the Tenant form.](https://fusionauth.io/img/docs/screenshots/tenant-security-blocked-domains.png)

`Blocked domains`

*   Optional

One or more email domains, one per line, that can't use self-service registration. For example, enter your company domain, `piedpiper.com`, to keep employees off the self-service registration form. The same entry stops end users from creating an account with a company email address.

FusionAuth applies the list to every Registration API request and every self-service registration page for every Application in the Tenant.

![The client risk and rate limit settings on the Security tab of the Tenant form.](https://fusionauth.io/img/docs/screenshots/tenant-security-client-risk-rate-limit.png)

## Client Risk Configuration

Available since `1.68.0`

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

`Customize risk signals`

*   Optional

When enabled, you can choose which risk signals count toward the composite risk score. MFA policies and the MFA requirement lambda can use the score. FusionAuth leaves a disabled signal out of every risk calculation. When you disable every signal, FusionAuth sets the risk score to `HIGH`.

`Blocklisted IP`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Checks whether the IP address of the client appears on a blocklist.

`Bot detected`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Detects bot interactions with the browser window.

`Dormant account`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Checks whether the user hasn't logged in for a long time.

`Dormant password`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Checks whether the user hasn't changed the password for a long time.

`Impossible travel`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Tracks the geographic location of login attempts. FusionAuth flags a login as high risk when the login occurs sooner than a person could travel from the previous location to the current location.

`Recent identity change`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Checks whether the login Id of the user changed recently.

`Recent password change`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Checks whether the password of the user changed recently.

`Suspicious user agent`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Checks whether FusionAuth flagged the user agent of the client as suspicious.

`Unrecognized device`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Checks whether the request comes from an unrecognized device.

`Untrusted device`

*   Type: `Boolean`
*   Optional
*   Defaults to `true`

Checks whether the request comes from a device that isn't in the trusted device list of the user.

## Rate Limit Settings

> **PLAN:** This feature requires [an Enterprise plan](https://fusionauth.io/docs/concepts/plans-and-limits/plans-features.md#enterprise-features).

[Rate limit](https://fusionauth.io/docs/security/account-protection/advanced-threat-detection.md#customizable-rate-limiting) settings limit how many times a user can attempt an action within a time period. When a user exceeds the limit, the action is unavailable until the time period passes without a failed attempt. FusionAuth evaluates and enforces each limit per user.

The tab lists the following actions:

*   `CIMD client registration`
*   `Failed login`
*   `Forgot password`
*   `Passwordless login`
*   `Resend email verification`
*   `Resend phone verification`
*   `Resend registration verification`
*   `Send passwordless email`
*   `Send passwordless phone message`
*   `Send two-factor`

The `Passwordless login` action limits how many times a user can submit a passwordless one-time code. The limit applies only to Applications that use the `Form field` passwordless strategy. After the user reaches the limit, FusionAuth rejects further attempts, including the correct code.

You can combine the `Failed login` action with the [Failed Authentication Settings](https://fusionauth.io/docs/concepts/types/tenants/password.md#failed-authentication-settings). While a user exceeds the rate limit, FusionAuth denies login requests and skips the login flow. FusionAuth increments **Failed attempts** only for requests that the rate limit doesn't block.

Available since `1.70.0`

The `CIMD client registration` action limits how many new clients each user can register through the [CIMD domains](https://fusionauth.io/docs/concepts/types/cimd-domains.md) of the Tenant. Logins with a client that is already registered don't count toward the limit. When a user exceeds the limit, the login fails and FusionAuth doesn't register the client. FusionAuth writes an Information entry to the Event Log with the user and the `client_id` URL of the client. FusionAuth also writes an Error entry with the reason code `rateLimited`.

Each action has the following fields:

`Action`

The action to rate limit.

`Enabled`

When enabled, FusionAuth rate limits the action after the user exceeds **Limit** within **Time period**.

`Limit`

The number of attempts allowed within **Time period** before FusionAuth rate limits the action. A rate limited action doesn't succeed.

`Time period`

The window of time, in seconds, that FusionAuth evaluates **Limit** against.

Related

[Concepts Tenant Password Settings Reference for the fields on the Password tab of the Tenant form in the Admin UI, including failed login lockout, breach detection, password rules, and hashing. tenant settings](https://fusionauth.io/docs/concepts/types/tenants/password.md)

[APIs Authenticate a User API API documentation for the FusionAuth Authenticate a User API. login api](https://fusionauth.io/docs/apis/login/authenticate.md)

[APIs Authenticate a User with a One Time Password API API documentation for the FusionAuth Authenticate a User with a One Time Password API. login api](https://fusionauth.io/docs/apis/login/authenticate-otp.md)

[APIs Complete Multi-Factor Authentication API API documentation for the FusionAuth Complete Multi-Factor Authentication API. login api](https://fusionauth.io/docs/apis/login/complete-mfa.md)
---

## Other pages in Tenants

> For the full index of this section, see [Concepts](https://fusionauth.io/docs/llms-concepts.txt).

- [Tenant Advanced Settings](https://fusionauth.io/docs/concepts/types/tenants/advanced.md): Reference for the fields on the Advanced tab of the Tenant form in the Admin UI, including external identifier durations, code generation, and SMTP properties.
- [Tenant Connector Settings](https://fusionauth.io/docs/concepts/types/tenants/connectors.md): Reference for the Connector policy fields on the Connectors tab of the Tenant form in the Admin UI.
- [Tenant Email Settings](https://fusionauth.io/docs/concepts/types/tenants/email.md): Reference for the SMTP fields on the Email tab of the Tenant form in the Admin UI.
- [Tenant Family Settings](https://fusionauth.io/docs/concepts/types/tenants/family.md): Reference for the fields on the Family tab of the Tenant form in the Admin UI, which configure parent and child accounts.
- [Tenant General Settings](https://fusionauth.io/docs/concepts/types/tenants/general.md): Reference for the fields on the General tab of the Tenant form in the Admin UI, including the issuer, the login theme, and username settings.
- [Tenant Identity Settings](https://fusionauth.io/docs/concepts/types/tenants/identities.md): Reference for the fields on the Identities tab of the Tenant form in the Admin UI, including email and phone verification and template settings.
- [Tenants](https://fusionauth.io/docs/concepts/types/tenants.md): Learn about tenants, which isolate users, applications, and configuration in one FusionAuth instance.
- [Tenant JWT Settings](https://fusionauth.io/docs/concepts/types/tenants/jwt.md): Reference for the fields on the JWT tab of the Tenant form in the Admin UI, including signing keys, token durations, and refresh token settings.
- [Tenant Multi-Factor Settings](https://fusionauth.io/docs/concepts/types/tenants/multi-factor.md): Reference for the fields on the Multi-Factor tab of the Tenant form in the Admin UI, including the MFA login policy and the MFA methods.
- [Tenant OAuth Settings](https://fusionauth.io/docs/concepts/types/tenants/oauth.md): Reference for the fields on the OAuth tab of the Tenant form in the Admin UI, including the SSO session timeout and token exchange.
- [Tenant Password Settings](https://fusionauth.io/docs/concepts/types/tenants/password.md): Reference for the fields on the Password tab of the Tenant form in the Admin UI, including failed login lockout, breach detection, password rules, and hashing.
- [Tenant SCIM Settings](https://fusionauth.io/docs/concepts/types/tenants/scim.md): Reference for the fields on the SCIM tab of the Tenant form in the Admin UI, which configure the FusionAuth SCIM server.
- [Tenant WebAuthn Settings](https://fusionauth.io/docs/concepts/types/tenants/webauthn.md): Reference for the fields on the WebAuthn tab of the Tenant form in the Admin UI, including the relying party and the passkey workflows.
- [Tenant Webhook Settings](https://fusionauth.io/docs/concepts/types/tenants/webhooks.md): Reference for the fields on the Webhooks tab of the Tenant form in the Admin UI, which select webhooks and set event transactions.
