Enter promo code HALFMANAGED at checkout for 50% off your first month’s bill on any managed service!
50% off managed hosting with code HALFMANAGED

Need help? We may have the answer for you already!

How to protect a folder with username and password in cPanel?

You can lock a directory with a password by using the cPanel Password Protected Directories Option.

1. Log into your cPanel account.


2. In the Files section, click on Directory Privacy Icon.
 

3. Click the icon to open a folder.


4. Click on the name of the directory you want to protect by password.


5. Under Security Settings, check the box next to the Password protect this directory and enter a name for the protected directory like Password Protected Area. Then click the Save button.


6. Now click on the Go back button.



7. Scroll down the page and under Create User fill in the username and password fields or use the Password Generator option to generate a new random password and copy the user/password to a notepad. You will need this when you want to open your password-protected directory and click on the Save button.



Now, should you try to open your password-protected directory in your browser through the URL www.example.com/myfolder, which is already password protected, your browser will prompt you to enter username and password.

News @ RackSRV

Customer Feedback

  • I am very satisfied with your services and products and I'll get touch with your company should I need any services in the future.

    Anmol - N/A
  • RackSRV is truly a quality co-location provider. Nothing is too much trouble for Jon, and the main co-location site is well-connected with multi-gigabit diverse routed links to the London PoPs. But, most importantly, the level of communication when issues arise is the best I have ever experienced in this industry. C...

    Mike - PPMI Consultants
  • We have been a customer with RackSRV for many years. They are very responsive to queries and are always willing to help us. Even when it involves after hours service! Solids servers and solid support.

    Adrian
  • RackSRV is a wonderful hosting company, The network is very good and i've never had any issues. Whenever i needed support my tickets were always answered quickly and professionally.

    Iain - Apocalypse Prevention Team
  • Having been a customer of RackSRV a few years ago, when I needed a VPS for a new project I knew exactly where to go. Great presales help and quick set up, the whole process has been hassle free.

    Craig
  • Thank you for your service over the years, it has been very much appreciated and I will recommend your services in the future.

    David
  • Switched host to RackSRV several months back. Very happy with the hosting. Great hardware, great network and excellent service. What more could you ask for?

    Jeff - Mint-Clan
0