How do I password protect a directory?

    1. Login to cPanel.
    2. Locate and click on the "Password Protect Directories" icon under the "Security" category.
    3. A prompt will appear asking you where the directory is located at. The default option will work for most users.
    4. Select the specific folder you want to password protect.
    5. 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.
      • Click the "Save" button to update the directory settings.Enter authorization information to give a user access to the directory:
        1. Username - Create a username for the directory.
        2. Password - Select a password for the user to access the directory.
        3. Password (Again) - Confirm the user's password.

Click the "Add/modify authorized user" button to save the user.

  • Email, SSL
  • 14 Users Found This Useful
Was this answer helpful?

Related Articles

How do I configure hotlink protection?

Login to cPanel. Locate and click on the "Hotlink Protection" icon within the "Security"...

How do I block an IP address from accessing my site?

If you wish to ban a user from accessing your website in any way, the best way to do this is to...

CAPTCHA Telling Humans and Computers Apart Automatically

This tutorial is to explain CAPTCHA, an acronym which stands for "Completely Automated Public...

Add a GnuPG Key

GnuPG keys use the “public key approach” to encryption. Messages are sent once...

After the clean up. What to do after your site is fixed.

After the clean up. What to do after your site is fixed.May 31, 2011 ...