Ahosting Logo
FAQ

Knowledgebase - How to Password Protect a Directory

🔍
All Categories » Web Hosting » How to Password Protect a Directory

How to Password Protect a Directory

You can secure folders with a password for extra privacy.

  1. In cPanel, open Directory Privacy.

  2. Select the folder you want to protect.

  3. Create a username and password.

  4. Now, visitors must log in to access that directory.

This is useful for private downloads, staging environments, or internal company files.