Tremhost Digital Guide

help using tremhost

Menu
  • Home
  • FAQ
  • Videotutorials
  • Tremhost Home
Menu

cPanel – Directory Privacy

Posted on June 2, 2019June 2, 2019 by admin

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 clicking Directory Privacy in the Files Section.

Directory Privacy

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.

Privacy

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

Directory Privacy1

Step 4 − Select Password protect for this directory checkbox and enter a Label which you wish to display in the frontend, click 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 − Click 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 like this −

Authentication

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

Recent Posts

  • DIGITAL GUIDE
  • digital guide
  • web hosting
  • Domain names FAQ
  • cPanel – Backup

Archives

  • November 2020
  • July 2020
  • June 2019

Recent Comments

  • admin on web hosting

Categories

  • category 1
  • category 2
  • Cpanel
  • Domains
  • Uncategorized

Services

  • Adobe Creative Cloud
  • IT solutions
  • Antivirus
  • Microsoft Office
  • Office Applications
  • Windows
  • Search Engine Optimisation

Recent

  • DIGITAL GUIDE
  • digital guide

Services

  • Domain Names
  • Hosting & Emails
  • Emails
  • Websites & Stores
  • Wordpress
  • Cpanel Reseller
  • SSL Certificate
  • Servers
© 2023 Tremhost Digital Guide | Powered by Tremhost Editors