> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security.md).

# Security

Configure Security settings in Devolutions Server, including IP token validation, X-Forwarded-For headers, account auto-lock, and certificate revocation checks.

The ***Security*** section allows the administrator to configure IP and auto-lock settings.

### Settings

#### IP

<table><thead><tr><th width="271">OPTION</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Force token public IP validation</strong></td><td>Force session tokens to only be used from the IP address where the session was initiated.</td></tr><tr><td><strong>Use X-Forwarded-For</strong></td><td>Enable the usage of an X-Forwarded-For header for deployments in a high availability or load balanced environments.</td></tr></tbody></table>

#### Auto-lock

<table><thead><tr><th width="178">OPTION</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Enable automatic account lock</strong></td><td>Automatically lock user accounts after a predetermined number of successive failed login attempts.</td></tr><tr><td><strong>Attempt count</strong></td><td>Set the number of failed attempts users can make before having their accounts locked.</td></tr></tbody></table>

#### Certificate

<table><thead><tr><th width="317">OPTION</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Ignore application certificate errors</strong></td><td>Ignore TLS certificate errors for outgoing connections. The use of this option is discouraged as it could expose connections to adversary-in-the-middle attacks.</td></tr><tr><td><strong>Enforce certificate revocation checks</strong></td><td>Enable online revocation checks for outgoing TLS connections.</td></tr><tr><td><strong>Certificate revocation check timeout</strong></td><td>Set the maximum wait time (in seconds) for revocation checks. If the timeout is reached, the certificate is not considered revoked.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
