# Sign-in and Access

Source: https://docs.qvoice.net/security/sign-in-and-access/

How sign-in to the Portal and UCP is protected: multi-factor authentication, credentials login,
lockout and password policies. Back to [Security](https://docs.qvoice.net/security/).

All of it is set in the Portal: **Configuration** > **Account** > **Security**.

## Multi-factor authentication (MFA)

Each account chooses its own MFA. Under **MFA**, **Through**:

| Method | Status |
| --- | --- |
| **Email** | Available. During sign-in, the user receives an email with a verification code that confirms their identity. |
| **SMS** | Shown, not yet available. |
| **Call** | Shown, not yet available. |

For each method you choose where it applies: **Portal**, **UCP**, or both. Click **Save**.

![Security, MFA](https://docs.qvoice.net/brand-assets/phone-system/portal-security-mfa.png)

## Platform-wide policies

On the platform account (and for admins allowed to manage global security), the **Security** screen
also has the policies that apply to every sign-in on the platform. Each has an **Enabled** switch.

| Policy | Settings |
| --- | --- |
| **Credentials Login** | **Portal** and **UCP** switches: whether users can sign in with a username and password. With either one off, make sure users can sign in with Google or Azure. |
| **Inactivity Period** | **Duration (In days)**. |
| **Lockout Threshold** | **Invalid Logins** (failed attempts before the lockout) and **Lockout duration (hours)**: how long credentials login stays blocked, 1 to 168 hours. 0 uses the default, 6 hours. |
| **Password complexity** | Required characters: **Uppercase (A–Z)**, **Lowercase (a–z)**, **Digit (0–9)**, **Special character**. |
| **Password Age** | **Minimum age (In days)** and **Maximum age (In days)**. |
| **Password Length** | **Minimum Length** and **Maximum Length**. |
| **Password History** | **Previous Passwords**: how many earlier passwords can't be reused. |

## Who can do what

- Admin roles and what each one can see and change: [Admin Roles](https://docs.qvoice.net/admin/admin-roles/).
- Adding users and sending invitations: [Users and Invitations](https://docs.qvoice.net/admin/users-and-invitations/).
- API access without a user password: [API Key Authentication](https://docs.qvoice.net/api/api-key-auth/).
