# Password policy

Password complexity is configurable through a system-wide password policy setting. Exivity supports the following policies:

| Policy                                 | Rules                                                                                                                         |
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| *Length check*                         | Passwords must be at least 8 characters long.                                                                                 |
| *Length and dictionary check*          | Must pass rules above. Passwords must not be among the most common passwords (top 50.000).                                    |
| *Length, dictionary and entropy check* | Must pass rules above. Passwords must have a [Shannon entropy](https://www.shannonentropy.netmark.pl/) value of at least 3.5. |

To apply your desired password policy:&#x20;

1. &#x20;Go to **Administration > Settings > System**
2. &#x20;Select your choice from the dropdown menu:

![Password policy configuration](/files/Pt8SNugsx8pvzUyVO1Pq)

&#x20;3\.  Click **Update** to apply your changes.<br>


---

# 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://olddocs.exivity.io/security/password-policy.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.
