- cPanel - CloudFlare
- cPanel - FileZilla FTP Client
- cPanel - Installing WordPress
- cPanel - Softaculous Apps Installer
- cPanel - Virus Scanner
- cPanel - MIME Types
- cPanel - Error Pages
- cPanel - Indexes
- cPanel - Track DNS
- cPanel - Cron Jobs
- cPanel - Optimize Website
- cPanel - Ruby on Rails
- cPanel - Hotlink Protection
- cPanel - SSH/TLS
- cPanel - IP Blocker
- cPanel - CPU and Connection Usage
- cPanel - Raw Access
- cPanel - Webalizer
- cPanel - Bandwidth
- cPanel - Errors
- cPanel - Visitors
- cPanel - Apache Spamassassin
- cPanel - Encryption
- cPanel - Address Importer
- cPanel - Authentications
- cPanel - Email Filters
- cPanel - Track Delivery
- cPanel - Autoresponders
- cPanel - MX Entry
- cPanel - Webmail
- cPanel - Email Forwarders
- cPanel - Email Accounts
- cPanel - Advance Zone Editor
- cPanel - Simple Zone Editor
- cPanel - Redirect
- cPanel - Addon Domain
- cPanel - Aliases
- cPanel - Subdomains
- cPanel - Remote MySQL
- cPanel - phpMyAdmin
- cPanel - MySQL Database Wizard
- cPanel - MySQL Databases
- cPanel - Backup Wizard
- cPanel - Backup
- cPanel - FTP Sessions
- cPanel - FTP
- cPanel - Disk Usage
- cPanel - Directory Privacy
- cPanel - Image Converter
- cPanel - Image Scaler
- cPanel - Images
- cPanel - File Permissions
- cPanel - File Manager
- cPanel - User Manager
- cPanel - Statistics & Dashboard
- cPanel - Home
- cPanel - Contact Information
- cPanel - Styles
- cPanel - Changing Password
- cPanel - Logging cPanel Dashboard
- cPanel - Setting Up Nameserver
- cPanel - Getting Web Hosting
- cPanel - Registering a Domain Name
- cPanel - Overview
- cPanel - Home
cPanel Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
cPanel - Directory Privacy
This feature of cPanel allows us to protect certain directories with a username and password. If a directory is protected by this, then if somebody from the front end of your website tries to access the file, they will be prompted to provide a username and password, if username of password does not match, then the user will not be able to see the content of that directory.
To configure a password for a directory, use the following steps −
Step 1 − Open Directory Privacy Configuration by cpcking Directory Privacy in the Files Section.

Step 2 − Navigate within your directories to find the directory you want to protect. Use icon on the left hand side to open a directory.

Step 3 − Select the directory you want to protect by cpcking on the name of the folder, you will get same configuration as shown below.

Step 4 − Select Password protect for this directory checkbox and enter a Label which you wish to display in the frontend, cpck Save to protect this directory.
Step 5 − To give access to users, you will need to create users. Enter username and password to create a new user, who will have access to this directory from the frontend.
Step 6 − Cpck Save to give access to this user. You can also create more than one user here.
If you now try to access your password protected directory, you will get a prompt pke this −

You can now enter the username and password to access this directory.
Advertisements