How to Password Protect a Specific Folder in cPanel
1- Enable Directory Password Protection
1. Log in to your cPanel account.
2. In the Files section, click on Directory Privacy.

3. A list of folders will appear. Locate and click Edit next to the folder you want to protect.

4. Check the box Password protect this directory.

5. Click Save to apply the protection.
After enabling password protection, you need to create a user who can log in:

Only users with these credentials will be able to access the protected folder via browser.
1. In cPanel, go to File Manager.

2. Right-click on the protected directory and select Change Permissions.

3. Set the permissions to: 744
