m |
m |
||
Line 1: | Line 1: | ||
− | <seo title="How to password protect folder in cPanel" metakeywords="password protect folder in cPanel,set password protection,password protect" metadescription="How to password protect folder in cPanel" /> | + | <seo title="How to password protect folder in cPanel" metakeywords="password protect folder in cPanel,set password protection,password protect,folder protect,hide folder,lock folder," metadescription="How to password protect folder in cPanel" /> |
− | <div align=justify>You may want some '''part of your site to be available for certain people''' (e.g. your family or friends only). This part may contain some files that shouldn't be viewed by all Interner users. | + | <div align=justify>You may want some '''part of your site to be available for certain people''' (e.g. your family or friends only). This part may contain some files that shouldn't be viewed by all Interner users. You can set a folder protect using your cPanel and it will hide the folder needed from public. |
− | To prevent public access to your files you can '''password protect the | + | To prevent public access to your files (or to lock the folder) you can '''password protect the directory''' that they are placed into. |
− | In this tutorial we'll provide you with the necessary tips on how to | + | In this tutorial we'll provide you with the necessary tips on how to set a folder protect in cPanel. |
− | 1. | + | '''1'''. To hide the folder from public, log in to your '''cPanel => Security => Password Protect Directories''' |
− | 2. From the '''folder list''' choose the one you would like to '''set password protection''' to. | + | '''2'''. From the '''folder list''' choose the one you would like to '''set password protection''' to. |
− | {{#icon: Set password protection in cPanel.png| | + | {{#icon: Set password protection in cPanel.png|Hide folder}} |
− | 3. Click on the folder name. You'll get the following screen: | + | '''3'''. Click on the folder name. You'll get the following screen: |
− | {{#icon: How to password protect folder in cpanel.png| | + | {{#icon: How to password protect folder in cpanel.png|Lock a folder}} |
* Check the box named '''Password protect this directory''' | * Check the box named '''Password protect this directory''' | ||
Line 24: | Line 24: | ||
* Enter the desired '''username/password''' and click on '''Add/modify authorized user'''. | * Enter the desired '''username/password''' and click on '''Add/modify authorized user'''. | ||
− | * You can set password protection to as many folders | + | * You can set password protection to '''as many folders''' and add '''as many users as you wish''', entering a username and password for each. |
+ | |||
+ | That's it! Now you can lock the folder from public access</div> |