How can I limit access to certain directories on my server by requiring a password using cPanel/WHM?

In cPanel, it is very simple to limit access to a directory on your server. This can be used to require a password in order to visit a website or to limit access to a certain directory of files accessible over the web.


To set up a password for a folder:

1. Click Password Protect Directories from the Security section.
2. Select either the document root or the web root directory and click Go.
3.In the next window, select the folder you wish to password protect. (You can also do this by going into File Manager    and right clicking on the appropriate folder.
4.Follow the directions on the Password Protect Directory page to change the security settings for the folder and create authorized users.
Was this answer helpful? 1 Users Found This Useful (59 Votes)

Powered by WHMCompleteSolution