{"id":24161,"date":"2022-02-02T14:22:48","date_gmt":"2022-02-02T14:22:48","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/cpanel-how-to-password-protect-a-directory\/"},"modified":"2023-08-31T08:12:48","modified_gmt":"2023-08-31T08:12:48","slug":"cpanel-how-to-password-protect-a-directory","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/","title":{"rendered":"cPanel: How to Password Protect a Directory"},"content":{"rendered":"<blockquote><p>This article provides you with information on hot to password protect directories in cPanel<\/p><\/blockquote>\n<p style=\"box-sizing: border-box; margin: 0px; font-size: 16px; line-height: 20.8px; word-break: normal; overflow-wrap: break-word; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-family: Tahoma, Verdana, Segoe, sans-serif; color: #333333; background-color: #fefefe;\"><span style=\"box-sizing: border-box; font-family: Helvetica, sans-serif;\"><span style=\"box-sizing: border-box; font-size: 18px;\"><strong style=\"box-sizing: border-box; font-weight: bold;\"><span style=\"box-sizing: border-box; color: #000000;\">Step 1-\u00a0<\/span><\/strong><span style=\"box-sizing: border-box; color: #000000;\">Login to cPanel<\/span><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<ul style=\"box-sizing: border-box; margin: 8px 0px 4px; padding: 0px 0px 0px 40px; line-height: 17px; list-style: outside disc; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; color: #333333; font-family: Tahoma, Verdana, Segoe, sans-serif; font-size: 16px; background-color: #fefefe;\">\n<li style=\"box-sizing: border-box; font-size: 16px !important; line-height: 20.8px; margin: 0px; word-break: normal; overflow-wrap: break-word; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\"><span style=\"box-sizing: border-box; font-family: Helvetica, sans-serif;\"><span style=\"box-sizing: border-box; font-size: 16px;\">Please see our article on logging into cPanel <a style=\"box-sizing: border-box; background-color: transparent; color: #2753d7; text-decoration: none; font-family: Tahoma, Verdana, Segoe, sans-serif !important;\" href=\"https:\/\/1-grid.com\/knowledge\/how-to-log-in-to-cpanel-via-your-1-grid-customer-zone\/\" target=\"_blank\" rel=\"noreferrer noopener\">here.<\/a><\/span><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p style=\"box-sizing: border-box; margin: 0px; font-size: 16px; line-height: 20.8px; word-break: normal; overflow-wrap: break-word; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-family: Tahoma, Verdana, Segoe, sans-serif; color: #333333;\"><span style=\"box-sizing: border-box; font-family: Helvetica, sans-serif;\"><span style=\"box-sizing: border-box; font-size: 18px;\"><strong style=\"box-sizing: border-box; font-weight: bold;\"><span style=\"box-sizing: border-box; color: #000000;\">Step 2 &#8211;\u00a0<\/span><\/strong><span style=\"box-sizing: border-box; color: #000000;\">Click on <strong style=\"box-sizing: border-box; font-weight: bold;\">Directory Privacy<\/strong> under the files section<\/span><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 602px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33040910966\/original\/ft8U1SFI7LcxV2Z5m2MuWyWVaShBanJBHA.png?1589966119\" data-id=\"33040910956\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 0px; margin-left: 0px; font-size: 16px; line-height: 20.8px; word-break: normal; overflow-wrap: break-word; font-weight: 400; text-align: start; text-indent: 0px; font-family: Tahoma, Verdana, Segoe, sans-serif; color: #333333;\"><span style=\"box-sizing: border-box; font-family: Helvetica, sans-serif;\"><span style=\"box-sizing: border-box; font-size: 18px;\"><strong style=\"box-sizing: border-box; font-weight: bold;\"><span style=\"box-sizing: border-box; color: #000000;\">Step 3-\u00a0<\/span><\/strong><span style=\"box-sizing: border-box; color: #000000;\"><span style=\"color: #222222; font-family: arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">Click <strong>Edit\u00a0<\/strong>on the\u00a0<\/span><\/span><\/span><\/span>directory<span style=\"box-sizing: border-box; font-family: Helvetica, sans-serif;\"><span style=\"box-sizing: border-box; font-size: 18px;\"><span style=\"box-sizing: border-box; color: #000000;\"><span style=\"color: #222222; font-family: arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">\u00a0that you want to<\/span> protect<\/span><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 635px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33040911187\/original\/ykS8m4hNB1CVP6uusxS3HY0r7ygC-24cAw.png?1589966383\" data-id=\"33040911033\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 0px; margin-left: 0px; font-size: 16px; line-height: 20.8px; word-break: normal; overflow-wrap: break-word; font-weight: 400; text-align: start; text-indent: 0px; font-family: Tahoma, Verdana, Segoe, sans-serif; color: #333333;\"><span style=\"box-sizing: border-box; font-family: Helvetica, sans-serif;\"><span style=\"box-sizing: border-box; font-size: 18px;\"><strong style=\"box-sizing: border-box; font-weight: bold;\"><span style=\"box-sizing: border-box; color: #000000;\">Step 4 &#8211;\u00a0<\/span><\/strong><span style=\"box-sizing: border-box; color: #000000;\"><span style=\"color: #222222; font-family: arial, sans-serif; font-size: 16px; font-weight: 400; text-align: left; text-indent: 0px; display: inline !important;\">Click <strong>Password Protect this Directory<\/strong> and click <strong>Save<\/strong><\/span><\/span><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 571px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33040911291\/original\/GaywUYR2awgM7aEWfWCjl_jpk9m_54Xg5A.png?1589966554\" height=\"366\" data-id=\"33040911190\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 0px; margin-left: 0px; font-size: 16px; line-height: 20.8px; word-break: normal; overflow-wrap: break-word; font-weight: 400; text-align: start; text-indent: 0px; font-family: Tahoma, Verdana, Segoe, sans-serif; color: #333333;\"><span style=\"box-sizing: border-box; font-family: Helvetica, sans-serif;\"><span style=\"box-sizing: border-box; font-size: 18px;\"><strong style=\"box-sizing: border-box; font-weight: bold;\"><span style=\"box-sizing: border-box; color: #000000;\">Step 5 &#8211;\u00a0<\/span><\/strong><span style=\"box-sizing: border-box; color: #000000;\"><span style=\"color: #222222; font-family: arial, sans-serif; font-size: 16px; font-weight: 400; text-align: left; text-indent: 0px; display: inline !important;\">Set username and password for this directory and click <strong>Save<\/strong><\/span><\/span><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 540px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33040911370\/original\/TCdi-JLj5qz-2EhHtvV3y9WDyp0k_36ohA.png?1589966636\" height=\"492\" data-id=\"33040911219\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 18px;\"><strong>Completed !<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-shadow aligncenter\" style=\"width: 640px;\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33040911416\/original\/mcROIrJqdDRcVplqafowpgwMsACqqIAbYg.png?1589966658\" data-attachment=\"[object Object]\" data-id=\"33040911416\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article provides you with information on hot to password protect directories in cPanel Step 1-\u00a0Login to cPanel &nbsp; Please see our article on logging into cPanel here. &nbsp; Step 2 &#8211;\u00a0Click on Directory Privacy under the files section &nbsp; &nbsp; Step 3-\u00a0Click Edit\u00a0on the\u00a0directory\u00a0that you want to protect &nbsp;&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[1198],"ht-kb-tag":[233,238,295,470,723,782],"class_list":["post-24161","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cpanel","ht_kb_tag-control-panel","ht_kb_tag-cpanel","ht_kb_tag-directory","ht_kb_tag-hosting","ht_kb_tag-password","ht_kb_tag-protect"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>cPanel: How to Password Protect a Directory - 1-grid Knowledge Base<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"cPanel: How to Password Protect a Directory - 1-grid Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"This article provides you with information on hot to password protect directories in cPanel Step 1-\u00a0Login to cPanel &nbsp; Please see our article on logging into cPanel here. &nbsp; Step 2 &#8211;\u00a0Click on Directory Privacy under the files section &nbsp; &nbsp; Step 3-\u00a0Click Edit\u00a0on the\u00a0directory\u00a0that you want to protect &nbsp;...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-31T08:12:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33040910966\/original\/ft8U1SFI7LcxV2Z5m2MuWyWVaShBanJBHA.png?1589966119\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/\",\"name\":\"cPanel: How to Password Protect a Directory - 1-grid Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2022-02-02T14:22:48+00:00\",\"dateModified\":\"2023-08-31T08:12:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"cPanel: How to Password Protect a Directory\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"cPanel: How to Password Protect a Directory - 1-grid Knowledge Base","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"cPanel: How to Password Protect a Directory - 1-grid Knowledge Base","og_description":"This article provides you with information on hot to password protect directories in cPanel Step 1-\u00a0Login to cPanel &nbsp; Please see our article on logging into cPanel here. &nbsp; Step 2 &#8211;\u00a0Click on Directory Privacy under the files section &nbsp; &nbsp; Step 3-\u00a0Click Edit\u00a0on the\u00a0directory\u00a0that you want to protect &nbsp;...","og_url":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2023-08-31T08:12:48+00:00","og_image":[{"url":"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/33040910966\/original\/ft8U1SFI7LcxV2Z5m2MuWyWVaShBanJBHA.png?1589966119"}],"twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/","url":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/","name":"cPanel: How to Password Protect a Directory - 1-grid Knowledge Base","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2022-02-02T14:22:48+00:00","dateModified":"2023-08-31T08:12:48+00:00","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"cPanel: How to Password Protect a Directory"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=24161"}],"version-history":[{"count":1,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24161\/revisions"}],"predecessor-version":[{"id":29623,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24161\/revisions\/29623"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=24161"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=24161"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=24161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}