# Login Attempts Properties

As of KCM version 2.9.6, KCM can be configured to limit a user's ability to login after multiple consecutive failed login attempts. This blocks brute-force login attacks on KCM instances.

{% hint style="info" %}
By default KCM will lock a user out of logging in for 5 minutes after 5 failed attempts
{% endhint %}

Use the following properties to change the login attempt settings

| Property                   | Description                                                                                        |
| -------------------------- | -------------------------------------------------------------------------------------------------- |
| `ban-max-invalid-attempts` | The number of invalid attempts before a user is locked out                                         |
| `ban-address-duration`     | The amount of time in seconds a user is locked out for after hitting the invalid attempts limit    |
| `ban-max-addresses`        | The number of addresses that KCM will track to check for invalid attempts.  Defaults to `10485760` |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeper-connection-manager/advanced-configuration/guacamole.properties/login-attempts-properties.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
