If you would like to restrict access to certain parts of your website, you can do so by password protecting the respective directories through your cPanel control panel section.
The first step is to log into your cPanel account. If you are unsure on how to do this, please view the following help article - 'How to log into cPanel'.
Scroll down to the 'Files' section and choose 'Directory Privacy'.
In the direct privacy section, you will see the folders that exist on your account. Choose the folder from the list that you would like to password protect.
Tick the option 'Password protect this directory' and type in an alais name to describe the folder in the 'Enter a name for the protected directory' section.
Choose 'Save' to set up the password protection.
The process will now confirm that the password protection permission was successfully set on the chosen directory. We now need to setup a user who can access the directory. Select 'Go Back' to return to the directory privacy options.
Scroll down to the 'Create User' section. A user now needs to be created with a password who can have access to the folder. Enter your chosen username in the 'Username' section along with the password in 'New Password' and 'Confirm Password'.
There is a 'Password Generator' option if you would like the process to automatically create a password for you.
To create the user, select the 'Save' option.
The process will now confirm that the user has been successfully created and confirm back to you what password you chose. It is recommended at this point to write this information down, if required later to access the folder.
You can repeat this process again on as many folders as you choose. You can also create multiple users who will have access if required.
The process to password protect a folder is now complete.
Looking for the right web hosting solution for your website can be an intimidating task. Options nowadays are more diversified than ever, and each year brings new developments in the web hosting market. If you have no clue of what to look out for, you can find yourself overwhelmed with...
Content marketing continues to be one of the most valuable tools for today’s online businesses. With content, you can improve your chances of reaching your target audience, boost your search engine standing, and even unlock new opportunities for sales. The more content you produce, the more you can strengthen your...
User Experience (UX) is one of the most crucial factors to consider in web design. As the number of websites and applications in the world today continues to accelerate, businesses are under more pressure than ever to impress customers straight away. If a user visits your website and finds slow-loading...