1. Login to cPanel.
2. Locate and click on the "Password Protect Directories" icon under the "Security" category.
![Locate the Password Protect Directory icon within cPanel.](../../images/kb/security/how-do-i-password-protect-a-directory/1.jpg)
3. A prompt will appear asking you where the directory is located at. The default option will work for most users.\
![Select the location of the directory.](../../images/kb/security/how-do-i-password-protect-a-directory/2.jpg)
4. Select the specific folder you want to password protect.
![Select the folder to password protect](../../images/kb/security/how-do-i-password-protect-a-directory/3.jpg)
4. Enter the required information:
- Password protect this directory - Choose whether or not the directory is password protected.
- Name the protected directory - Essentially an alias for the protected directory.
5. Click the "Save" button to update the directory settings.
6. Enter authorization information to give a user access to the directory:
- Username - Create a username for the directory.
- Password - Select a password for the user to access the directory.
- Password (Again) - Confirm the user's password.
![Enter the required information.](../../images/kb/security/how-do-i-password-protect-a-directory/4.jpg)
7. Click the "Add/modify authorized user" button to save the user.