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 have been using RackSRV for nearly a month and they are the best, the server is up all the time any tickets I have submitted are answered with in a hour even on weekends - look no further :)

    Darren - None
  • Excellent very friendly support staff and very helpful. We have had an excellent relationship over the years and found Racksrv delivered on the services we needed. Thank you Chris Chamberlain

    Simon - Boilerguard UK Ltd
  • Having been a user of remote servers from multiple hosts over many years (far more than I like to remember) I have left them all due to terrible customer after service once they had my custom. After leaving a major provider a few years ago I was pointed in the direction of racksrv. Racksrv are a different breed of ...

    Graham
  • I have been a colocation customer with RackSRV for close to three years now, and have witnessed the company grow. Regardless, the support and staff are still as friendly and helpful as day one, I cant fault their service and I look forward to further expansion with a company I have the utmost respect for.

    Lee - RTL-Servers
  • I have been a customer of Racksrv for many years and throughout their service has been incomparably better than the other hosts I have worked with in the past. They take a real interest in helping clients achieve their goals and are unusually flexible in tailoring packages to specific needs. I cannot recommend them ...

    Tim - Colneis
  • I've had excellent service for last 2 years! Jon and his team have been excellent in their communication and at dealing with any problems.

    Abishek
  • RackSRV hosts all of the game servers for our forthcoming title Heroes of Newerth in the UK, we are currently at 25+ boxes hosted here and the service and support is outstanding. I'm not sure these people ever sleep as the watching of the boxes never ends. Keep up the good work!

    Shawn - S2 Games
0