{"id":2594,"date":"2015-06-23T22:16:22","date_gmt":"2015-06-23T21:16:22","guid":{"rendered":"https:\/\/www.uk-cheapest.co.uk\/support\/?p=2594"},"modified":"2015-06-23T22:18:54","modified_gmt":"2015-06-23T21:18:54","slug":"how-to-create-password-protected-directories","status":"publish","type":"post","link":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/","title":{"rendered":"How to Create Password Protected Directories"},"content":{"rendered":"<h2><a href=\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-2597 size-thumbnail\" src=\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274-150x150.png\" alt=\"header_ppp_circle_270x274\" width=\"150\" height=\"150\" \/><\/a>Protecting Files and Folders in Plesk<\/h2>\n<p class=\"bodytext\">If you have directories in a site that only authorised users should see, restrict access to these directories with password protection.<\/p>\n<h3 class=\"procedureheading\">To protect a directory in your site with a password and to specify authorised users:<\/h3>\n<ol class=\"procedurelistnumber\">\n<li class=\"procedurelistnumber\">If you are subscribed to several hosting packages and have access to several webspaces associated with your account, select the required webspace in the <strong class=\"specialbold\">Subscription<\/strong> menu at the top of the screen.<\/li>\n<li class=\"procedurelistnumber\">Go to the <strong class=\"specialbold\">Websites &amp; Domains<\/strong> tab and find the site&#8217;s domain name.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">Password-Protected Directories<\/strong>.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">Add Protected Directory<\/strong>.<\/li>\n<li class=\"procedurelistnumber\">In the <strong class=\"specialbold\">Directory name<\/strong> box, specify the path to the directory that you want to protect with a password.\n<p class=\"listcontinue\">This can be any directory existing in the site, for example: <code class=\"monospace\">\/private<\/code>. If the directory that you would like to protect has not yet been created, specify the path and the directory name \u2013 Plesk will create it for you.<\/p>\n<\/li>\n<li class=\"procedurelistnumber\">If you are using a Linux-based account, you can also protect your CGI scripts stored in the <code class=\"monospace\">cgi-bin<\/code> directory. To do this, leave &#8216;\/&#8217; in the<strong class=\"specialbold\">Directory name<\/strong> box and select the <strong class=\"specialbold\">cgi-bin<\/strong> checkbox.<\/li>\n<li class=\"procedurelistnumber\">In the <strong class=\"specialbold\">Title of the protected area<\/strong> box, type a resource description or a welcoming message that your users will see when they visit the protected area.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">OK<\/strong>. The directory you specified will be protected.<\/li>\n<li class=\"procedurelistnumber\">To add authorised users, click <strong class=\"specialbold\">Add User<\/strong>.<\/li>\n<li class=\"procedurelistnumber\">Specify the username and password that will be used for accessing the protected area. The password should be from 5 to 14 symbols in length. Click <strong class=\"specialbold\">OK<\/strong>.<\/li>\n<\/ol>\n<h3 class=\"procedureheading\">To add an authorised user of a protected directory:<\/h3>\n<ol class=\"procedurelistnumber\">\n<li class=\"procedurelistnumber\">Go to the <strong class=\"specialbold\">Websites &amp; Domains<\/strong> tab and find the site&#8217;s domain name.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">Password-Protected Directories<\/strong>.<\/li>\n<li class=\"procedurelistnumber\">Click on the name of the directory you need.<\/li>\n<li class=\"procedurelistnumber\">Click the <strong class=\"specialbold\">Add User<\/strong> icon.<\/li>\n<li class=\"procedurelistnumber\">Specify the username and password that will be used for accessing the protected area. The password should be from 5 to 14 symbols in length.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">OK<\/strong>.<\/li>\n<\/ol>\n<h3 class=\"procedureheading\">To change password for an authorised user of a protected directory:<\/h3>\n<ol class=\"procedurelistnumber\">\n<li class=\"procedurelistnumber\">Go to the <strong class=\"specialbold\">Websites &amp; Domains<\/strong> tab and find the site&#8217;s domain name.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">Password-Protected Directories<\/strong>.<\/li>\n<li class=\"procedurelistnumber\">Click on the name of the directory you need. A list of authorised users will open.<\/li>\n<li class=\"procedurelistnumber\">Click on the user\u2019s name.<\/li>\n<li class=\"procedurelistnumber\">Specify the new password and re-type it for confirmation.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">OK<\/strong>.<\/li>\n<\/ol>\n<h3 class=\"procedureheading\">To revoke a permission to access the protected directory from a user:<\/h3>\n<ol class=\"procedurelistnumber\">\n<li class=\"procedurelistnumber\">Go to the <strong class=\"specialbold\">Websites &amp; Domains<\/strong> tab and find the site&#8217;s domain name.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">Password-Protected Directories<\/strong>.<\/li>\n<li class=\"procedurelistnumber\">Click on the name of the directory you need. A list of authorised users will open.<\/li>\n<li class=\"procedurelistnumber\">Select a checkbox corresponding to the user\u2019s name.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">Remove<\/strong>. Confirm the operation and click <strong class=\"specialbold\">OK<\/strong>.<\/li>\n<\/ol>\n<h3 class=\"procedureheading\">To remove password protection and make the resource available to the public:<\/h3>\n<ol class=\"procedurelistnumber\">\n<li class=\"procedurelistnumber\">Go to the <strong class=\"specialbold\">Websites &amp; Domains<\/strong> tab and find the site&#8217;s domain name.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">Password-Protected Directories<\/strong>.<\/li>\n<li class=\"procedurelistnumber\">Select a checkbox corresponding to the name of the directory from which you want to remove protection.<\/li>\n<li class=\"procedurelistnumber\">Click <strong class=\"specialbold\">Remove Protection<\/strong>. The protection will be removed and the contents of the directory will be accessible to the public without restrictions.<\/li>\n<\/ol>\n<h3>Watch the Video Tutorial<\/h3>\n<p><iframe loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/F5cqPXPvwgQ?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Protecting Files and Folders in Plesk If you have directories in a site that only authorised users should see, restrict access to these directories with password protection. To protect a directory in your site with a password and to specify authorised users: If you are subscribed to several hosting packages and have access to several &#8230; <a title=\"How to Create Password Protected Directories\" class=\"read-more\" href=\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/\" aria-label=\"More on How to Create Password Protected Directories\">Read more&#8230;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"generate_page_header":"","footnotes":""},"categories":[244,36],"tags":[],"class_list":["post-2594","post","type-post","status-publish","format-standard","hentry","category-plesk12","category-web-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.4 (Yoast SEO v23.4) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create Password Protected Directories - UK-Cheapest.co.uk<\/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:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Password Protected Directories\" \/>\n<meta property=\"og:description\" content=\"Protecting Files and Folders in Plesk If you have directories in a site that only authorised users should see, restrict access to these directories with password protection. To protect a directory in your site with a password and to specify authorised users: If you are subscribed to several hosting packages and have access to several ... Read more...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/\" \/>\n<meta property=\"og:site_name\" content=\"UK-Cheapest.co.uk\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-23T21:16:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-23T21:18:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274-150x150.png\" \/>\n<meta name=\"author\" content=\"UKC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ukchelpdesk\" \/>\n<meta name=\"twitter:site\" content=\"@ukchelpdesk\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"UKC\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/\",\"url\":\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/\",\"name\":\"How to Create Password Protected Directories - UK-Cheapest.co.uk\",\"isPartOf\":{\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274-150x150.png\",\"breadcrumb\":{\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#primaryimage\",\"url\":\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274.png\",\"contentUrl\":\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274.png\",\"width\":270,\"height\":274},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"UK-Cheapest.co.uk\",\"item\":\"https:\/\/www.uk-cheapest.co.uk\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create Password Protected Directories\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/#website\",\"url\":\"https:\/\/www.uk-cheapest.co.uk\/support\/\",\"name\":\"UK-Cheapest.co.uk\",\"description\":\"Cheap Domain Names, Web Hosting, Site Builder &amp; Web Security\",\"publisher\":{\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.uk-cheapest.co.uk\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/#organization\",\"name\":\"UKC\",\"url\":\"https:\/\/www.uk-cheapest.co.uk\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2023\/12\/Screenshot-2023-12-14-at-17.40.07.png\",\"contentUrl\":\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2023\/12\/Screenshot-2023-12-14-at-17.40.07.png\",\"width\":217,\"height\":55,\"caption\":\"UKC\"},\"image\":{\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/ukchelpdesk\",\"https:\/\/www.instagram.com\/ukc_hosting\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/person\/135cf981b8a3a120603fcbc027eed746\",\"name\":\"UKC\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f39b95f178ec21ebe3134a71baa1146d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f39b95f178ec21ebe3134a71baa1146d?s=96&d=mm&r=g\",\"caption\":\"UKC\"},\"sameAs\":[\"https:\/\/www.uk-cheapest.co.uk\"],\"url\":\"https:\/\/www.uk-cheapest.co.uk\/support\/author\/colin\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Create Password Protected Directories - UK-Cheapest.co.uk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/","og_locale":"en_GB","og_type":"article","og_title":"How to Create Password Protected Directories","og_description":"Protecting Files and Folders in Plesk If you have directories in a site that only authorised users should see, restrict access to these directories with password protection. To protect a directory in your site with a password and to specify authorised users: If you are subscribed to several hosting packages and have access to several ... Read more...","og_url":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/","og_site_name":"UK-Cheapest.co.uk","article_published_time":"2015-06-23T21:16:22+00:00","article_modified_time":"2015-06-23T21:18:54+00:00","og_image":[{"url":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274-150x150.png"}],"author":"UKC","twitter_card":"summary_large_image","twitter_creator":"@ukchelpdesk","twitter_site":"@ukchelpdesk","twitter_misc":{"Written by":"UKC","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/","url":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/","name":"How to Create Password Protected Directories - UK-Cheapest.co.uk","isPartOf":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#primaryimage"},"image":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#primaryimage"},"thumbnailUrl":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274-150x150.png","breadcrumb":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#primaryimage","url":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274.png","contentUrl":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2015\/06\/header_ppp_circle_270x274.png","width":270,"height":274},{"@type":"BreadcrumbList","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/how-to-create-password-protected-directories\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"UK-Cheapest.co.uk","item":"https:\/\/www.uk-cheapest.co.uk\/support\/"},{"@type":"ListItem","position":2,"name":"How to Create Password Protected Directories"}]},{"@type":"WebSite","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#website","url":"https:\/\/www.uk-cheapest.co.uk\/support\/","name":"UK-Cheapest.co.uk","description":"Cheap Domain Names, Web Hosting, Site Builder &amp; Web Security","publisher":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.uk-cheapest.co.uk\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#organization","name":"UKC","url":"https:\/\/www.uk-cheapest.co.uk\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2023\/12\/Screenshot-2023-12-14-at-17.40.07.png","contentUrl":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2023\/12\/Screenshot-2023-12-14-at-17.40.07.png","width":217,"height":55,"caption":"UKC"},"image":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/ukchelpdesk","https:\/\/www.instagram.com\/ukc_hosting\/"]},{"@type":"Person","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/person\/135cf981b8a3a120603fcbc027eed746","name":"UKC","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f39b95f178ec21ebe3134a71baa1146d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f39b95f178ec21ebe3134a71baa1146d?s=96&d=mm&r=g","caption":"UKC"},"sameAs":["https:\/\/www.uk-cheapest.co.uk"],"url":"https:\/\/www.uk-cheapest.co.uk\/support\/author\/colin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/posts\/2594"}],"collection":[{"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/comments?post=2594"}],"version-history":[{"count":4,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/posts\/2594\/revisions"}],"predecessor-version":[{"id":2599,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/posts\/2594\/revisions\/2599"}],"wp:attachment":[{"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/media?parent=2594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/categories?post=2594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/tags?post=2594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}