Home » Support » Help Articles » Password Protect Files and Folders with cPanel on Linux

Password Protect Files and Folders with cPanel on Linux

Back to Help Articles Home

This guide will walk you through creating password protected files or folder with your Linux hosting control panel.

  1. Login to your hosting control panel using the access details you have received from 'Batoi Support'.
  2. From the home page click 'Password Protect Directories' under the Security section as shown below.
  3. Figure One

  4. After clicking the 'Password Protect Directories', system will ask you to select the directory in a popup screen as shown below.
  5. Figure Two

  6. Select the 'Web Root' and press the button 'Go' and system will open the root directory of your hosting with the list of directories as shown below.
  7. Figure Three

  8. Here you can choose the directory which you want to password protect. To do so select the 'directory' by clicking it. After clicking the password protection page will appear as shown below.
  9. Figure Four

  10. Here you need to click the check box 'Password protect this directory' and you need to give a name to the directory in the textbox besides the 'Name the protected directory' and press the 'Save' button as shown above.
  11. Upon doing so your directory is now password protected. Now the next step is to open the particular directory using some password.
  12. To do so, go to the next section under the 'Password protect this directory', meant for 'Create User' as shown above. Here you need to give the 'Username' and 'Password' for that user. Then press the 'Add/modify authorized user' button. Now you can share this 'Username' and 'Password' with the user to whom you want to give the access to open this folder.
  13. When a user types the 'URL' for that particular directory a password box will appear in the screen as shown below and by entering the correct Username and Password that particular user can login to the directory.
  14. Figure Five

You are done with.

Updated on Nov 11, 2015

The techReview is an online magazine by Batoi and publishes articles on current trends in technologies across different industry verticals and areas of research. The objective of the online magazine to provide an insight into cutting-edge technologies in their evolution from labs to market.

Visit techReview

English - IN (USD)
New Users? Signup.     Existing Users? Login.