{"id":1482,"date":"2021-12-30T06:24:23","date_gmt":"2021-12-30T06:24:23","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=1482"},"modified":"2021-12-30T13:40:49","modified_gmt":"2021-12-30T13:40:49","slug":"password-protect-directories-2","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/","title":{"rendered":"Password Protect Directories"},"content":{"rendered":"<h2>Q. However do I password protect directories?<\/h2>\n<p><strong>Ans.<\/strong> Follow these steps in cPanel, To password protect a folder\/directory :<\/p>\n<p><strong>Step 1:<\/strong>\u00a0Login to your control panel using your account username\/password at\u00a0<strong>http:\/\/yourdomain.com\/cpanel<\/strong><\/p>\n<p><strong>Step 2:\u00a0<\/strong>Click on \u201c<strong>Password Protection<\/strong>\u201d under Services<\/p>\n<p><strong>Step\u00a03:<\/strong>\u00a0Browse to the folder in\u00a0which you want to\u00a0restrict access<\/p>\n<p><strong>Step\u00a04:<\/strong>\u00a0Click on the name of the folder<\/p>\n<p><strong>Step\u00a05:<\/strong>\u00a0It will present you with\u00a0a form. It has two parts and you have to submit them both separately:<\/p>\n<article id=\"post-240\" class=\"post-240 post type-post status-publish format-standard hentry category-security category-tutorials ast-article-single\">\n<div class=\"ast-post-format- ast-no-thumb single-layout-1\">\n<div class=\"entry-content clear\">\n<h3><strong>a) Enable access only to authorized users<\/strong><\/h3>\n<p>[ ] Directory requires a password to access<br \/>\nCheck the above box.<br \/>\nand Protected Resource Name: [ ] (enter a generic name of the protection such as \u201cMy Protected Folder\u201d)<\/p>\n<p>Submit and it will protect it.<\/p>\n<p>Now step (b) for adding username\/password. Browse to the same form and<\/p>\n<h3><strong>b) Add\/modify authorized user<\/strong><\/h3>\n<p>Enter the username\/password and save it.<\/p>\n<\/div>\n<\/div>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>Q. However do I password protect directories? Ans. Follow these steps in cPanel, To password protect a folder\/directory : Step 1:\u00a0Login to your control panel using your account username\/password at\u00a0http:\/\/yourdomain.com\/cpanel Step 2:\u00a0Click on \u201cPassword Protection\u201d under Services Step\u00a03:\u00a0Browse to the folder in\u00a0which you want to\u00a0restrict access Step\u00a04:\u00a0Click on the name of the folder Step\u00a05:\u00a0It will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23],"tags":[],"class_list":["post-1482","post","type-post","status-publish","format-standard","hentry","category-security","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Password Protect Directories - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Password Protect Directories - OWS KB\" \/>\n<meta property=\"og:description\" content=\"Q. However do I password protect directories? Ans. Follow these steps in cPanel, To password protect a folder\/directory : Step 1:\u00a0Login to your control panel using your account username\/password at\u00a0http:\/\/yourdomain.com\/cpanel Step 2:\u00a0Click on \u201cPassword Protection\u201d under Services Step\u00a03:\u00a0Browse to the folder in\u00a0which you want to\u00a0restrict access Step\u00a04:\u00a0Click on the name of the folder Step\u00a05:\u00a0It will [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-30T06:24:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-30T13:40:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/\",\"name\":\"Password Protect Directories - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2021-12-30T06:24:23+00:00\",\"dateModified\":\"2021-12-30T13:40:49+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/password-protect-directories-2\/\",\"name\":\"Password Protect Directories\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=1482"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1482\/revisions"}],"predecessor-version":[{"id":1483,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1482\/revisions\/1483"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=1482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=1482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=1482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}