How to Password Protect a Directory in cPanel

Sometimes it is userful to hide files within a directory (folder) and only give access to those files to people who have the proper password.

For example, you may want to only allow authorized people to view or download certain files. Or you may have setup a development version of a website that is not ready for the public, so you password protect it so only the developers can see it.

cPanel has implemented a simply way to password protect directories, that works independently from any scripts or software you might have installed. 

How do computers remember where they store things?

The exact methods depend on what specifically you are talking about and how deep you want to go. For example, storing files on a hard drive is different than storing something in memory or storing something in a database. Although the concepts are similar. And how you do it at a programming level is a different explanation than how a computer does it at the I/O level.


AdDuplex is a cross-promotion network specifically targeted at Windows Phone and Windows Store apps and games. It empowers developers and publishers to promote apps for free by helping each other.

DnHGeeks has started Pure SSD Shared Web Hosting in April, 2016. Recently, we have relaunched our website with new logo and new plans.

2 Websites/Domains with Starter Plan @ $2.99/m
We are offering 2 websites/domains on our Starter SSD Web Hosting Plan @ $2.99/m.

View Hosting Plans


Recommended Content

Subscribe to Complete Hosting Guide RSS