# Security

Organizations and communities can opt-in to enforce 2FA for all their admins. Any attempt at triggering admin operations or visiting the admin pages will be blocked until the admins enable 2FA on their profiles.\
\
Projects and events inherit the 2FA settings from their parents.

### How to enforce 2FA for all admins

1. Click on the user menu<br>

<figure><img src="https://1948397550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuNQPJeCQS3kEc00OAwaT%2Fuploads%2FMyohIMiz7feDK71D0ZQD%2Fimage.png?alt=media&#x26;token=bc36aebe-87fb-4765-891e-f12a4fcf3ec4" alt=""><figcaption></figcaption></figure>

2\. Click on the settings icon next to the profile you want to enable "Enforce 2FA" for

<figure><img src="https://1948397550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuNQPJeCQS3kEc00OAwaT%2Fuploads%2FYoBKCbbZ6nXEIiwzOCJm%2Fimage.png?alt=media&#x26;token=88548d86-2fc8-4a75-b389-fd656249e773" alt=""><figcaption></figcaption></figure>

3\. Click on Settings -> "Security"

<figure><img src="https://1948397550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuNQPJeCQS3kEc00OAwaT%2Fuploads%2F8ns0SMNXnW0FzwuHoW2h%2Fimage.png?alt=media&#x26;token=dfddd57c-01aa-4164-8d4e-e33d76318581" alt=""><figcaption></figcaption></figure>

**4. Check "All admins must have two-factor authentication"**

<figure><img src="https://1948397550-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuNQPJeCQS3kEc00OAwaT%2Fuploads%2F9jebwtSDG9crRIzm4mbg%2Fimage.png?alt=media&#x26;token=5eed257a-8003-4523-91d2-e6b965c8dae3" alt=""><figcaption></figcaption></figure>

**5. Click on Save**

**When visiting admin pages without 2FA, admins will be prompted to enable it**

![image](https://user-images.githubusercontent.com/1556356/202162859-7e9cf92e-cb93-49fe-975d-701e7c0b76e6.png)
