{"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"],"_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}]}}