Password Protect Directories

Password protecting a directory restricts access to certain parts of your website by requiring visitors to enter a username and a password. This password process is also referred to as a type of “authentication” process.

While using this feature, navigate the directories by clicking the folder icon located next to the name of the directory. Clicking on the name of the directory will select the directory for password protection.

Note: Any subdirectories inside the selected directory will also be password protected.

Password Protect a Directory

To password protect your directory:

  1. Click the checkbox next to Password protect this directory.
  2. Using the Name the Protected Directory field, assign a name to the password protected directory. (This is the name visitors will see. It can appear as anything, no matter what the directory is called.)
  3. Enter the information below the Create User heading.
  4. Click Add/modify authorized user.

The new user’s name will be added to the listbox under the Authorized Users heading, where it can be removed later.

 

Remove a User

To delete password protection for a user:

  1. Select the desired account name in the listbox beneath the Authorized Users heading.
  2. While the name is highlighted, click the Delete User button to delete the account.

 

Remove Password Protection

  • To remove password protection from the directory, uncheck Password protect this directory.

Was this answer helpful?

 Print this Article

Also Read

Account Level Filtering

cPanel lets you filter all email for an entire domain. This can be useful for discarding spam,...

phpMyAdmin

phpMyAdmin is a third-party tool included with cPanel, used for maniuplating MySQL...

MIME Types

MIME types relay information to the browser about how to handle file extensions. Adding MIME...

Site Software / Fantastico

You can add many useful functions to your website by installing pieces of software called...

MySQL Database Wizard

cPanel can guide you through the process of setting up a MySQL database, along with the...