# 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 will also inherit the 2FA settings.

{% hint style="info" %}
2FA settings do not 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 will 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 our 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 our Panel API in the [Developer Hub](/docs/navixy-api/panel-api/resources/user/mfa-settings.md).


---

# 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://navixy.com/docs/admin/settings/two-factor-authentication.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.
