Browse
 
Tools Add
Rss Categories
-->

How to Password Protect a Directory (Unskinned)

Reference Number: AA-00870 Created: 2012-09-20 13:23 Last Updated: 2012-10-08 13:36 0 Rating/ Voters

How to password protect a directory in cPanel for VPS (Unskinned)

Click here for a video tutorial

How to password protect a directory in cPanel.

This demo assumes you've already logged in to cPanel.

Now let's learn how to create a password-protected directory.

1) Scroll down.

2) Click the Password Protect Directories link.

Image:Ppdicon.JPG

3) We're going to password protect the /demo directory. Click the demo link.

Image:Deomlink.JPG

4) Select the check box to protect this directory with a password.

Image:Passprotect.JPG

5) Now enter a name for this protected directory.

Image:Namedire.JPG

6) Click the Save button.

Image:Save.JPG

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

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

7) Click the Go Back link.

Image:Baack.JPG

8) Enter a username and a password in the boxes under Create User.

Image:Userpass.JPG

9)Re-enter your password.

Image:Reenter.JPG

10) Then click the Add/modify authorized user button.

Image:Addmod.JPG

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.

11) Click the Go Back link.

Image:Bback.JPG

You can now see the active user for this directory.

Image:Activeuser.JPG

You can return to this screen at any time to modify existing users' passwords, add more users, or delete users.

Let's return to the directory list.

Image:Direlist.JPG

12) Click the Up one level link.

Image:Upone.JPG

See the lockbox by the /demo directory? That indicates the directory is password protected.

Image:Lock.JPG

This is the end of the tutorial. You now know how to set up password protection for specific directories within your account. Don't forget to create users for your protected directories.

Rss Comments
  • There are no comments for this article.
Info Add Comment
Nickname: Your Email: Subject: Comment:
Enter the code below: