{"id":7886,"date":"2017-01-04T17:45:11","date_gmt":"2017-01-04T09:45:11","guid":{"rendered":"http:\/\/exabytes.sg\/blog\/?p=7886"},"modified":"2021-12-27T15:27:56","modified_gmt":"2021-12-27T07:27:56","slug":"password-protected-directory","status":"publish","type":"post","link":"https:\/\/www.exabytes.sg\/blog\/password-protected-directory\/","title":{"rendered":"What is Password Protected Directory? Learn &#038; Work it"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-7887 alignnone\" src=\"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/Password-Protected-Directory.png?resize=540%2C283&#038;ssl=1\" alt=\"Password Protected Directory\" width=\"540\" height=\"283\" \/><br \/>\n<span style=\"font-weight: 400;\">Do you know you can limit the access to a specific directory with a password?<br \/>\n<\/span><span style=\"font-weight: 400;\">This feature enables you to protect a directory if you want to limit the access of your website directory to a selected number of people. \u00a0Once this is enabled, a user who tries to open a protected folder will be prompted to enter a username and password before they can access the content.<\/span><\/p>\n<h2><b>How to configure a Password for a directory?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Setting up a password protected directory is fairly easy. \u00a0To add password protection to a directory, follow these steps:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Step 1: Log into your cPanel.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Step 2: Under the Security section, click on the \u201cPassword Protect Directories\u201d icon<br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-7888 alignnone\" src=\"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/step-2.png?resize=540%2C193&#038;ssl=1\" alt=\"step 2\" width=\"540\" height=\"193\" \/><br \/>\n<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Step 3: Select the directory that you wish to open and then click on the \u201cGo\u201d button.<br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-full wp-image-7889 alignnone\" src=\"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/step-3.png?resize=453%2C264&#038;ssl=1\" alt=\"step 3\" width=\"453\" height=\"264\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Step 4: Click the name of the folder that you wish to protect to select it. Click a folder\u2019s icon to open it.<br \/>\n<\/span><img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-7890 alignnone\" src=\"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/step-4.png?resize=540%2C247&#038;ssl=1\" alt=\"step 4\" width=\"540\" height=\"247\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Step 5: \u00a0Click on the \u201cPassword protect this directory\u201d checkbox and enter the name for a protected directory.<br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-7894 alignnone\" src=\"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/step-5.png?resize=540%2C232&#038;ssl=1\" alt=\"step 5\" width=\"540\" height=\"232\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Step 6: Next, click on the \u201cSave\u201d button below.<br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-7891 alignnone\" src=\"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/step-6.png?resize=540%2C213&#038;ssl=1\" alt=\"step 6\" width=\"540\" height=\"213\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Step 7: Click on the \u201cGo Back\u201d button.<br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-7892 alignnone\" src=\"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/step-7.png?resize=540%2C226&#038;ssl=1\" alt=\"step 7\" width=\"540\" height=\"226\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Step 8: Under \u201cCreate User\u201d, create a username and password to access this directory.<br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-7893 alignnone\" src=\"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/step-8.png?resize=540%2C242&#038;ssl=1\" alt=\"step 8\" width=\"540\" height=\"242\" \/><br \/>\n<\/span><\/p>\n<h2><strong>Password Protected<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Done! You have successfully configured a password for a directory now. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">To have a second check, launch your browser and view the directory to ensure your directory has been password protected. If the browser prompts you to login, then your folder has been password protected.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Have a try!\u00a0<\/span><span style=\"font-weight: 400;\">Till then, see you in the next entry. <\/span>Cheers!<\/p>\n<p>Read more about cPanel and learn <a href=\"https:\/\/www.exabytes.sg\/blog\/how-to-login-to-your-cpanel\/\">how to login cPanel<\/a> as a beginner.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you know you can limit the access to a specific directory with a password? This feature enables you to protect a directory if you want to limit the access of your website directory to a selected number of people. \u00a0Once this is enabled, a user who tries to open a protected folder will be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7887,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[262],"tags":[],"class_list":{"0":"post-7886","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-all-about-exabytes"},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.exabytes.sg\/blog\/wp-content\/uploads\/2017\/01\/Password-Protected-Directory.png?fit=1200%2C628&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/pbHhPQ-23c","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/posts\/7886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/comments?post=7886"}],"version-history":[{"count":3,"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/posts\/7886\/revisions"}],"predecessor-version":[{"id":21310,"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/posts\/7886\/revisions\/21310"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/media\/7887"}],"wp:attachment":[{"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/media?parent=7886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/categories?post=7886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.exabytes.sg\/blog\/wp-json\/wp\/v2\/tags?post=7886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}