How to Password Protect a Directory
This tutorial will teach how to password protect a directory. Password protecting a directory will allow you to require a username and password to access a folder or folders from the web. This tutorial will assume that you are logged into your cPanel. If you are having trouble doing that, please see the tutorial named "How to Login to cPanel".
On your main cPanel page, scroll down to the section called Security. Click on the icon named Password Protect Directories. This will open a screen with your folders listed. Open your folders until you find the directory that you wish to protect. Select the directory by clicking on its name.
This will open a new screen that will allow you to set permissions for your directory. Make sure the correct directory is listed at the top of the page. Under Security Settings, check the box to password protect this directory.
On the next line, enter a name for this protected directory in the box. This name should be something to help you identify the purpose of the directory, such as Members Ideas, or Friends Photos. Click the Save button.
You are now taken to a verification screen, showing that the directory is protected, and allows access only to authorized users. It now requires a password to enter it by way of a browser. So we now need to create at least one user, and assign them a password to access the directory. Click the GO BACK link.
Under Create User, enter a User name. Enter a password, and re-enter the password. Then click the Add/Modify
authorized user button. This takes you to the verification screen to confirm that the directory now has one user who has access to it. Repeat this process for each additional user you want to grant access to. Click the GO BACK link, and you can see the authorized user listed in the box.
You can return to this screen at any time to modify existing users passwords, add more users, or delete users.
When listed, your directory will now have a lock icon next to it, to indicate that it is password protected.
This is the end of the tutorial. You now know how to setup password protection for specific directories within your account. Don't forget to create users for the protected directories. Click on the HOME link in the upper left corner to return to the main cPanel page. You can now exit cPanel by closing your browser, or by using the Logout button in the upper right corner. Remember, if you are using a public computer, ALWAYS Logout of cPanel before closing due to security reasons.
Add to Favourites
Print this Article
Our Clients Says
I was pleased with the response at neverddos hosting regarding my site. I have just launched my site and found satisfactory speed. And without doubt i obviously find the plans economical. Above all I did find the procedure very quick. It is a great customer experience here!
Before signing up for a new host I had a few questions to ask. Never DDoS support answered within minutes and the few questions I've had since have been answered just as quick. The hosting package is great value, with lots of services included. Both the my business web-site and databases are fast, secure and reliable. Highly recommended.
Many thanks for your help neverddos! this is the first time I have used you as a company to host a domain name and am very pleased with the support I have received from you and will certainly use you for more domain names.
neverddos.com all that I would expect in site uptime, but I have been impressed mostly by the level of anti ddos protection service! Nothing is too much trouble for their support team and I can't recommend them highly enough!
We've used other hosting companies in the past but have found NeverDdos to be the most reliable and also highly flexible when we need something a little out of the ordinary. We now use neverDdos company for all our hosting requirements and we would certainly recommend them highly.
Leave Your Comment