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'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
  • 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 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
  • Being a customer at RackSRV has always been easy, they are helpful and I have no complaints. Only in the beginning of my time as a customer was there some rare downtime, but RackSRV has just got better and better with time. The staff seem pro at what they do, last year there has not had any downtime that I've noti...

    Tore
  • Having made the decision to move network host in July 2008 I was in the process of shopping around. I came across RackSRV and was very impressed with the owners knowledge and commitment to his then small business. I had evaluated other larger competitors but wasnt happy with the lack of information and impersonal way t...

    Anthony - TMD Assocaites Limited
  • What can I say...? Almost 2 years with RackSRV and no problems at all. Support is very fast and server uptime was 100% - perfect! Thanks to Jon and all the RACKSRV staff!

    Guillaume - >Xtra-Gamers<
  • I got to know Jon through a friend of mine, and when my last host was yet again unhelpful I thought it was time to change. I have had various hosts for my clan in the 8+ years we have been playing, and to be honest I dread the change to a new host. But ever since that time 2 years ago now, I can honestly say that I hav...

    Patrick
0