How to password protect a directory in cPanel?


  • After logging into the cPanel, click Password Protected Directories under Security category.

  • Select the directory to start with, then click Go.

  • Select the directory you want to password protect by clicking its name.

  • Check the box Password protect directory.

  • Then give a name for this directory, and click Save.

  • The directory is now protected, and requires a password to enter it via a browser.

  • You must therefore create at least one user, and assign them a password to access the directory.

  • Click Go Back, and fill up necessary information:

    • Username: Enter the username.

    • New Password: Enter the password.

    • Password (Again): Retype the password.



  • Click Add/Modify Authorized user.

  • The protected directory now has one user who has access to it. Repeat this process for each additional user you want to grant access for.

  • Click Go back. Now you can see the active user for this directory here and can add or delete users from this page at any time.

  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

Creating An Autoresponder

1. Click Add Autoresponder to create a new auto responder. Or, find a current auto responder...

How to login to cPanel?

Visit www.yourdomain.com/cpanel (Example: www.yourdomain.com) If you are trying to login for...

How to create a POP Email account in cPanel?

After logging into the cpanel, click Email Accounts under Mail category. Fill up necessary...

How to setup your default email address?

After logging into the cPanel, click Default Address under Mail category. Currently your...

How to setup an auto-responder in cPanel?

After logging into the cPanel, click Autoresponders under Mail category. Click Add Auto...