> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Enabling brute force protection

A brute force attack is a method used by cybercriminals to guess your password by trial and error and gain access to your account. Protect your organization against such attacks by following these steps in Keycloak:

1. [Log in to Keycloak as an administrator](/docs/psm-on-prem/6.4.0/admin/Keycloak_config/user_roles#accessing-the-keycloak-administration-console).
2. Go to **Realm Settings** from the left-hand navigation menu.
3. Select the **Security Defenses** tab.
4. Select the **Brute Force Detection** tab.
5. Set the **Enabled** toggle to `ON`.
6. Set the parameters for your organization’s brute force defenses. Hover your mouse over the question mark <Icon icon="circle-question" iconType="regular" /> icon to see what each parameter manages.
7. Click **Save**.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/FWjHZXWDjYmx0_bG/images/keycloak_brute_force_enable.png?fit=max&auto=format&n=FWjHZXWDjYmx0_bG&q=85&s=8d35b50ab778a8c44f07130470806b1f" alt="" width="1922" height="708" data-path="images/keycloak_brute_force_enable.png" />
   </Frame>

To disable these settings at any time, return to the **Brute Force Detection** tab and set the **Enabled** toggle to `OFF`.
