Overview of Directory Privacy

Protect sensitive folders from public viewing by requiring a username and password.

Step-by-Step Configuration

1. Access Directory Privacy

Click "Directory Privacy" under the Files section in cPanel.

2. Select Folder

Navigate to the folder you wish to lock and click "Edit".

# Permission Example
Folder: /public_html/admin
Protection: Active

Creating Authorized Users

After enabling protection, create a specific username and password for authorized access.

Note: Do not use your main cPanel login as the directory password for security reasons.