Grow Your Business Online

Linkysoft Services, Products, Hosting, and Servers

Securing specific directories in your cPanel account is crucial for protecting sensitive information or restricting access to certain areas of your website. Directory Privacy in cPanel allows you to password-protect directories, ensuring that only authorized users can access them. This guide will walk you through all the steps to set up Directory Privacy in cPanel, providing you with the necessary information to secure your directories effectively.

Accessing Directory Privacy In cPanel

To begin setting up Directory Privacy, you need to access it through your cPanel account. Here’s how:

Step 1: Log In To Your cPanel Account

Start by logging into your cPanel account. Navigate to one of the following URLs, replacing yourdomain.com with your actual domain name:

cpanel.yourdomain.com

yourdomain.com/cpanel

yourdomain.com:2083

Step 2: Navigate To Directory Privacy

Once logged in, scroll down to the Files section and click on Directory Privacy.

Step 3: Select The Directory To Protect

In the Directory Privacy interface, you will see a list of directories in your account. Navigate to the directory you want to protect and click on its name. If the directory is within another folder, you can click on the folder names to expand the directory structure.

Setting A Password For The Directory

After selecting the directory you wish to protect, you can now set up a password. Follow these steps:

Step 1: Enable Password Protection

To enable password protection, check the box next to Password protect this directory. This will activate the password protection feature for the selected directory.

Step 2: Name The Protected Directory

In the Name the protected directory field, enter a name that will be displayed when users are prompted to enter a password. This name can be anything descriptive to help identify the purpose of the protected area.

Step 3: Create A User And Password

Next, you need to create a user and password that will be required to access the directory. Enter a username in the Username field and a strong password in the New Password and Confirm Password fields.

Step 4: Save Your Settings

Once you've entered all the necessary information, click on Save to apply the password protection to the directory.

Managing Directory Privacy Settings

After setting up Directory Privacy, you may want to manage or update the settings later. Here’s how you can do that:

Step 1: Editing Password Protection

If you need to change the password or update the user, navigate back to the Directory Privacy section in cPanel, select the protected directory, and update the user or password details as needed.

Step 2: Removing Password Protection

If you no longer need to protect the directory, you can remove the password protection by unchecking the Password protect this directory option and saving the changes.

Step 3: Adding Additional Users

To allow multiple users to access the protected directory, you can add more users by navigating to the same directory in the Directory Privacy section and entering additional usernames and passwords.

Troubleshooting Directory Privacy Issues

Sometimes, you may encounter issues while setting up or managing Directory Privacy. Here are some common problems and solutions:

Issue: Users Unable To Access The Directory

If users cannot access the directory despite entering the correct password, ensure that the password protection is correctly set up and that the username and password match. You may also need to clear your browser cache or try accessing the directory from a different browser.

Issue: Forgotten Password

If you've forgotten the password for a protected directory, you can reset it by navigating to the Directory Privacy section in cPanel, selecting the directory, and creating a new user with a new password.

Issue: Removing Unwanted Users

If you need to remove a user from accessing the directory, simply delete the user from the Directory Privacy settings by selecting the user and clicking Delete User.

By following these steps, you can effectively manage Directory Privacy in cPanel, ensuring that only authorized users have access to specific directories on your website. This tool is essential for protecting sensitive information and controlling access to restricted areas of your site.

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Search the Knowledge Base

Share