How do I password protect a directory?

    1. Login to cPanel.
    2. Locate and click on the "Directory Privacy" icon under the "Files" category.
Select the location of the directory.
    1. Select the specific folder you want to password protect.
Select the folder to password protect
    1. 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.
    2. Click the "Save" button to update the directory settings.
    3. Enter authorization information to give a user access to the directory:
      • Username - Create a username for the directory.
      • Password - Select a password for the user to access the directory.
      • Password (Again) - Confirm the user's password.
Enter the required information.
  1. Click the "Add/modify authorized user" button to save the user.

Was this answer helpful?

Also Read

What is SSH?

SSH (Secure Shell) is a secure method for logging into a server remotely and giving the server...

My webpage is displaying ads

If your website is not pulling up and is instead showing advertisements, the most likely cause is...

How to change my default page?

You can change the home page yourself by doing the following: For Linux Server 1. Create a...

How to configure autoresponder using cPanel

To configure Auto Responder to send automatic replies from an email address on the domain as...

How to disable mod_security

Issue: Having 403 error page when uploading files to your directory using your CMS application...