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'm extremely satisfied with RackSrv. Network and uptime are excellent and the support is second to none. Choosing to work with RackSrv has been one of the best, most profitable business decisions my company has made. In short, we would like to applaud you for being one of the few companies we truly enjoy working with....

    Apostolos
  • I would highly recommend the services of RackSRV to anyone looking to rent a server overseas. Not only was the customer support and service great and enjoyable but it was also for an affordable price. Keep it up!

    William
  • We appreciate your 100% network and server uptime. We'll be back again to host with Racksrv in end of Dec or early next year when our application development is complete, thanks!

    Jitendra - J.R.D. Company Ltd.
  • We have been with RackSVR for over 10 years and all this time have had a near perfect uptime and great responsiveness from the team. I would recommend them to anyone looking for a reliable host and just nice people to work with

    Nick - Farlex International Limited
  • 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
  • We've used RackSRV for some time and have always been impressed with the level of service. They're always willing to go the extra mile - there always seems to be someone available to help us out, regardless of the time of day. I strongly recommend them to anyone looking for a reliable hosting provider!

    Iain - Piquant Technologies
  • RackSRV were able to meet all my requirements when seeking a temporary dedicated server to aid with expansion and sales. The quality of customer service is excellent, as is the network and hardware supplied. A first class business, with true quality services - with customer satisfaction and support in mind at all ti...

    Ryan - GatewayGaming
0