> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://krystal-dev.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Password protect your WordPress site

Onyx has two built-in ways to control access to your sites. This article describes one way - using password protection to restrict access to the entire WordPress site. This is independent of, and in addition to any WordPress login your site may require.

You could use a Maintenance Mode plugin to prevent users seeing your site whilst it's in development or whilst you are making changes.

There are two steps to complete, firstly enabling the password protection, and then secondly creating authorised users.

Changes made here (enable/disable or add/remove authorised users) can take up to 60 seconds to be live.

|| We have a separate article on admin IP protection - the second way to protect access to your site - which restricts access to the WordPress Admin login/dashboard by IP address.

#### Enable & disable password protection

1.  You'll need to start by [logging in to your Onyx dashboard](https://onyx.io/login).
2.  From your Onyx dashboard, click the the site you'd like to access.
    
    ![](https://storage.crisp.chat/users/helpdesk/website/f1ce769645dbc800/b6164d80-63b6-46ff-99c0-6dab83_14ehky8.png)
    
3.  On the left hand menu, select **Password Protection**.
    
    ![](https://storage.crisp.chat/users/helpdesk/website/2342089527c62400/499c1710-3665-4d55-815f-5152cc_1pwj2qt.png)
    
4.  Click the **Enable Password Protection** button.

![](https://storage.crisp.chat/users/helpdesk/website/44c9aa759e270400/2c8d6773-60a1-4cbb-88c3-207cc6_q18eqs.png)

Once enabled this button will change to **Disable Password Protection**. This can be clicked to remove the password protection.

![](https://storage.crisp.chat/users/helpdesk/website/fa060a4d8dd57000/69877eaf-81cb-4a4d-8ce7-41ea1d_1i8hze1.png)

#### Create an authorised user

1.  Click the **add an authorized user** button.

![](https://storage.crisp.chat/users/helpdesk/website/574ccd0a899e7000/2c4b538c-44a3-409a-9784-42b49f_f8l3c8.png)

1.  Enter a username and secure password and click the **Create** button.

![](https://storage.crisp.chat/users/helpdesk/website/aaf08f56bda1480/f3d03a65-d56a-45d8-a6cd-b9002e_16iqdf0.png)

#### Remove an authorised user

1.  Click the **remove** button next to the user you'd like to remove.

| You will be prompted to confirm removal, click OK and the user will be removed.

![](https://storage.crisp.chat/users/helpdesk/website/95a48c79ecccd800/d5e033a9-5b3b-4bfb-8e83-44667b_e284fn.png)

* * *

* * *