{"id":303,"date":"2011-06-17T14:52:14","date_gmt":"2011-06-17T14:52:14","guid":{"rendered":"http:\/\/blog.nixwind.com\/?p=303"},"modified":"2011-06-17T14:52:14","modified_gmt":"2011-06-17T14:52:14","slug":"how-to-password-protect-a-directory-with-cpanel","status":"publish","type":"post","link":"https:\/\/blog.nixwind.com\/?p=303","title":{"rendered":"How to Password Protect a Directory with cPanel"},"content":{"rendered":"<p>You can protect directories within your site with a login and password, by using this feature.<\/p>\n<p><strong>1) Click on &#8220;Password Protect Directories&#8221; button in Security session.<\/strong><\/p>\n<p><strong><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Security.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-308\" title=\"cPanel-Security\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Security.png\" alt=\"\" width=\"283\" height=\"106\" \/><\/a><\/strong><\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directories.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-304\" title=\"cPanel-Password Protect Directories\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directories-300x259.png\" alt=\"\" width=\"300\" height=\"259\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directories-300x259.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directories.png 368w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>2)To password protect a directory, <strong>select the directory which you want to protect<br \/>\n<\/strong><\/strong><\/p>\n<p><strong><strong><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directory_Security-Settings.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-307\" title=\"cPanel-Password Protect Directory_Security Settings\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directory_Security-Settings-300x153.png\" alt=\"\" width=\"300\" height=\"153\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directory_Security-Settings-300x153.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directory_Security-Settings.png 386w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<\/strong><\/strong><\/p>\n<p style=\"padding-left: 30px;\">a) Click on the option button &#8220;<em><strong><label for=\"protect_dir_checkbox\">Password protect this directory&#8221;.<\/label><\/strong><\/em><\/p>\n<p style=\"padding-left: 30px;\">b) Enter a name that you choose for the protect directory will appear.<\/p>\n<p style=\"padding-left: 30px;\">c) Click &#8220;<em><strong>save&#8221;<\/strong><\/em>, to save the password protected file name.<\/p>\n<p><strong><strong>3) You will need create a user and password under the&#8221;Create User&#8221;<\/strong>.<\/strong><\/p>\n<h2><strong><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directories_Create-User.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-305\" title=\"cPanel-Password Protect Directories_Create User\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directories_Create-User-300x163.png\" alt=\"\" width=\"300\" height=\"163\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directories_Create-User-300x163.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directories_Create-User.png 489w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/strong><\/h2>\n<p style=\"padding-left: 30px;\">a) Enter the username.<\/p>\n<p style=\"padding-left: 30px;\">b) Enter a strong new password or use <em><strong>&#8220;Password Generator&#8221;<\/strong><\/em>.<\/p>\n<p style=\"padding-left: 30px;\">c) Click <strong>&#8220;Add\/modify authorized user&#8221; <\/strong>to save the authorized user.<\/p>\n<p><strong>4) The new user&#8217;s name will be added to the list box under the Authorized  Users heading.<\/strong><\/p>\n<p><strong><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directory_Authorized-Users.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-306\" title=\"cPanel-Password Protect Directory_Authorized Users\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directory_Authorized-Users-300x163.png\" alt=\"\" width=\"300\" height=\"163\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directory_Authorized-Users-300x163.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Password-Protect-Directory_Authorized-Users.png 379w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/strong><\/p>\n<p>We can also delete the desired users from the listbox by clicking <strong>&#8220;Delete User&#8221;.<\/strong><\/p>\n<p>To remove password protection from the directory, uncheck <strong>&#8220;<strong><em>Password  protect this directory&#8221;.<\/em><\/strong><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can protect directories within your site with a login and password, by using this feature. 1) Click on &#8220;Password Protect Directories&#8221; button in Security session. 2)To password protect a directory, select the directory which you want to protect a) Click on the option button &#8220;Password protect this directory&#8221;. b) Enter a name that you [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[18,38],"_links":{"self":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/303"}],"collection":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=303"}],"version-history":[{"count":4,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/303\/revisions"}],"predecessor-version":[{"id":410,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/303\/revisions\/410"}],"wp:attachment":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}