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

  • RackSRV have provided very reliable service and competent support in the many years I have hosted with them. I will look to use them for future work in the future. Greatly recommended!

    Gary
  • I have had no problems with the service and i will be ordering from you in the future. At this time i need to consolidate the number of servers i have to keep costs down. Thank You for all your help and assistance.

    Stuart - Star Web Hosting Limited
  • I am really happy with the service overall and would suggest to any business which require co-location services. I would rate 4.5 out of 5 with the services.

    Balakrishnan - BTR India Pvt Ltd
  • Overall experience is excellent! Very friendly, helpful and attentive support team - willing to go that extra mile. Price - very fair, somewhat undervalued! Have recommended to several friends... they have all spoken of the great service, even in comparison to the big companies that they all used to use.

    Temur
  • Nothing but praise, especially for the constant updates on service-altering instances, which, while they didn't affect me directly, were useful to know and is something not a lot of other providers do.

    Nick - HostNottingham
  • 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
  • Great service, excellent prices and instant support! It is a pleasure working with you guys. Thank you and keep up the good work!

    Alexander - Dev Advisory Uk Ltd
0