> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.gbnetwork.com/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).

# How do I password protect a directory/folder on my website?

|| How do I password protect a directory/folder on my website?

1. Login to your cPanel

2. In Files, choose "Directory Privacy".


![](https://storage.crisp.chat/users/helpdesk/website/67938060e89a4400/image_324j5w.png)

3. Click the icon to open a folder. Click the name to select a folder.

![](https://storage.crisp.chat/users/helpdesk/website/67938060e89a4400/directoryprivacy_1hb22d3.png)

4. Click on the name of the folder to bring up the Security Settings screen.

![](https://storage.crisp.chat/users/helpdesk/website/67938060e89a4400/securitysetting_1ck3nnx.png)

5. Check the box for `Password protect this directory` and enter a name for your protected directory.

![](https://storage.crisp.chat/users/helpdesk/website/67938060e89a4400/save_auv7ba.png)

6. Click **Save**

7. Go to **Create User**

8. Type in your **Username** and **Password**

![](https://storage.crisp.chat/users/helpdesk/website/67938060e89a4400/createuser_1c7nujn.png)

9. **Click Save**
---
Once you're done, you should see your username under the list of authorized users.

Repeat the last step for any extra usernames you would like to add.

Also, any information or links under the folder you password protect will ask you for the password again.

**Note: **Set a password to protect certain directories of your account. When you enable this feature, a user that tries to open a protected folder will be prompted to enter a username and password before they can access your content.