How to password protect a directory in cPanel

cPanel Paper Lantern end-user series

18. How to password protect a directory in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen.
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

Now let's learn how to password protect a directory.

Click the "Directory Privacy" icon.
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

Select the directory to start with, then click "Go".
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

Select the directory you want to password protect by clicking its name.
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

Check the "Password Protect" box, then give a name for the directory, and click "Save".
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

The directory is now protected, and requires a password to enter it via a browser.
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

We must therefore create at least one user, and assign them a password so they can access the directory.
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

Assign a username and password in the "Create User" section.
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

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.
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

You can see the new user we just added in the "Authorized Users" section.
FutureHosting Best Hosting in Ireland - How to password protect a directory in cPanel

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

Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

How to create a MySQL database in cPanel

cPanel Paper Lantern end-user series 25. How to create a MySQL database in cPanel This demo...

How to use the Disk Space Usage tool in cPanel

cPanel Paper Lantern end-user series 16. How to use the Disk Space Usage tool in cPanel This...

How to setup email forwarding in cPanel

cPanel Paper Lantern end-user series 5. How to setup email forwarding in cPanel This demo...

How to setup email filters in cPanel

cPanel Paper Lantern end-user series 6. How to setup email filters in cPanel This demo assumes...

How to create a subdomain in cPanel

cPanel Paper Lantern end-user series 21. How to create a subdomain in cPanel This demo assumes...