Directory Privacy

Directory Privacy

To create protection for a directory of your hosting with a Username and Password, follow the steps:
  1. In your cPanel, select "Directory Privacy" in the Files section. Then select the directory you want to assign privacy to.
  2. Complete the fields as desired. Remember to check the option "Password protect this directory".


  3. After the creation of the first user, the list of created users will be available in this directory, where you can monitor all created users.



  4. When accessing the Directory Privacy option again, there will be a padlock symbol next to the folder you have set up protection.

  5. You can also change the Directory Privacy settings under “Settings” in the upper right corner.
  6. There you can change the base directory to a subdomain, for example, and customize it so that this new option is always opened in the next accesses to the Directory Privacy.




    • Related Articles

    • How to disable directory browsing

      For security purposes, we recommend that you disable navigation in the directory on your website so that you cannot see the files/pastes of your website. First you need to access your cPanel Step 1 After accessing your cPanel, go to the Files section ...
    • How to restrict Directory Access by IP address

      In order to secure your "admin area" from hackers, we recommended you to allow access only from your selected IP to your admin directory. You just need to create an .htaccess file in the directory where you want to restrict access by IP Address. For ...
    • JetBackup 5 - Home Directory : How to restore file and folders

      Jetbackup 5 has a new interface, with better usability and new options, making it easier to search for specific items. In this article we will see how to restore files and folders from a cPanel account. First we must access cPanel and navigate to the ...
    • How to protect a folder with username and password

      You can password lock a directory using cPanel's "Directory Privacy" option. 1. Log in to your cPanel account, see how to access cPanel at: https://help.scriptcase.net/portal/en/kb/articles/first-steps-with-the-hosting-access 2. In the "Files" ...
    • How to add a domain redirect

      Step 1 - Login to cPanel Log in to your dashboard cPanel and go to the Domains section, and look for the Redirects item. Step 2- Add redirect 1- On this screen choose between a redirection type Permanent (301) Temporary (302) 2- In “https?://(www.)?” ...