> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/admin/settings/two-factor-authentication.md).

# Security

The **Security** page allows you to improve the security of user accounts on the Navixy platform by enabling two-factor authentication (2FA). You can configure this security feature for all users or selectively enable it based on specific account needs.

## **How to enable two-factor authentication**

Two-factor authentication can be enabled either for all users in your system or for specific users via their settings.

* **For all users**: Configured in **Admin Panel → Settings → Security.** Ensures that all current and new users must authenticate using a one-time passcode in addition to their login credentials. All sub-users and imported users also inherit the 2FA settings.

{% hint style="info" %}
2FA settings don't apply to demo users
{% endhint %}

<figure><img src="/files/6dZZtTKgqasLwifqgjAt" alt="Two-factor authentication settings" width="378"><figcaption><p>Two-factor authentication settings</p></figcaption></figure>

* **For specific users**: For individual accounts that require personalized security, you can enable 2FA in **Admin Panel → Users → Edit user → Two-factor authentication.** All sub-users created in that account also inherit the 2FA settings.

<figure><img src="/files/veDDIQWA6WROCXr5WRRZ" alt="Two-factor authentication for a specific user" width="563"><figcaption><p>Two-factor authentication for a specific user</p></figcaption></figure>

{% hint style="info" %}
Note that the current implementation only allows enabling two-factor authentication for all account users, including sub-users created in the main account.
{% endhint %}

To configure 2FA settings, you can use the Navixy Panel API, using the calls to read and update 2FA settings for a list of specified users or all users of the platform, as well as set default settings for new users. You can learn more about the Navixy Panel API in the [Developer Hub](/docs/navixy-api/panel-api/resources/user/mfa-settings.md).


---

# 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 dynamically by asking a question.

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

```
GET https://navixy.com/docs/admin/settings/two-factor-authentication.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
