cPanel® Hosting

What is cPanel®
Logging in/out
Server information
Mail
Change Password
Aliases (Parked Domains)
Addon Domains
Subdomains
FTP Manager
File Manager
Disk Usage
Password protect directories
Error pages
MySQL
Redirects
FrontPage Extensions
Web/FTP Stats
Subdomain Stats
Raw Access Logs
CGI Center
MIME types
Apache handlers
Hotlink Prevention
Index Manager
IP Deny Manager

Directory Privacy - Password Protect Directories

Password Protect Directories button
You can protect directories within your site from browsers by using a password to protect them. This allows you to restrict material to only authorized users or store sensitive material online. This has the same appearance and effect as the password protection on CPanel.

To password protect a directory:

  1. Click on the Directory Privacy button in the 'Files' section in cPanel®.
  2. Navigate to the directory that you want to protect. To do this, click the folder icons to open.
  3. When you find the correct folder, click the name of the folder.
  4. Click on the tick box for "Password protect this directory".
  5. Enter the name for the protected directory (folder). This is optional and purely for the user's benefit.
  6. Click on the Save button. Generally, you now need to add at least one authorized user to enable access to the directory in the section below.