How to password protect a folder in cPanel

This demo assumes you've already logged in to cPanel

Now let's learn how to password protect a directory, so that people will need a password to view web pages within it

1) Click
Password Protect Directories

http://hostnit.com/images/support/pass%20protect%20folder/1.png

2) Select the directory to start with, then click Go

http://hostnit.com/images/support/pass%20protect%20folder/2.png

3) Select the directory you want to password protect by clicking it's name

http://hostnit.com/images/support/pass%20protect%20folder/3.png

4) Check the Password protect this directory box...

http://hostnit.com/images/support/pass%20protect%20folder/4.png

5) Then give a name for the directory, and click Save

http://hostnit.com/images/support/pass%20protect%20folder/5.png

The directory is now protected, and requires a password to enter it via a browser

http://hostnit.com/images/support/pass%20protect%20folder/6.png

We must therefore create at least one user, and assign them a password to access the directory

6) Click Go Back\


http://hostnit.com/images/support/pass%20protect%20folder/7.png

7) Enter a username here

http://hostnit.com/images/support/pass%20protect%20folder/8.png

8) Then enter and confirm a password

http://hostnit.com/images/support/pass%20protect%20folder/9.png

9) Click Add authorized user

http://hostnit.com/images/support/pass%20protect%20folder/10.png

The protected directory now has one user who has access to it. Repeat this process for each additional user you want to grant access for

http://hostnit.com/images/support/pass%20protect%20folder/11.png

You can see the active user for this directory here and can add or delete users from this page at any time

http://hostnit.com/images/support/pass%20protect%20folder/12.png

This is the end of the tutorial. You now know how to password protect directories, and assign users to them



-------
Article Posted By: Tyler D. of Host NIT., Inc
hostnit.com
cpanelhosting.com

 

Host NIT., INC is a registered cooperation with its main HQ in Florida and Data-Center in Secaucus, NJ.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is Fantastico?

Fantastico De Luxeis the leading auto installer for cPanel servers. With more than 10,000...

How do I change my cPanel username?

Changing your server username is possible, but you should be aware of the following: Your...

How to add an MX entry in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to setup MX entries 1)...

How to backup your website in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to backup our website...

How to change the primary language in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to change the primary...