{"id":190,"date":"2016-09-19T10:42:10","date_gmt":"2016-09-19T10:42:10","guid":{"rendered":"https:\/\/example.com\/wordpress\/?p=190"},"modified":"2016-09-19T10:42:10","modified_gmt":"2016-09-19T10:42:10","slug":"how-to-protect-a-folder-with-username-and-password-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/","title":{"rendered":"How to protect a folder with username and password in cPanel?"},"content":{"rendered":"<p><span style=\"font-size: medium;\">You can lock a directory with a password by using the cPanel <strong>Password Protected Directories<\/strong> Option.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: medium;\"><strong>1.<\/strong> Log into your cPanel account.<\/span><\/p>\n<p><span style=\"font-size: medium;\"><strong>2.<\/strong> In the <strong>Files<\/strong> section, click on <strong>Directory Privacy<\/strong> Icon.<br \/>\n<img decoding=\"async\" src=\"\/img\/password-protected-directories.gif\" alt=\"\" align=\"middle\" \/><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: medium;\"><strong>3.<\/strong> Click the icon to open a folder. <\/span><br \/>\n<img decoding=\"async\" src=\"\/img\/paper-folder-icon-passprotect.gif\" alt=\"\" align=\"middle\" \/><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: medium;\"><strong>4.<\/strong> Click on the name of the directory you want to protect by password.<\/span><br \/>\n<span style=\"font-size: medium;\"><img decoding=\"async\" src=\"\/img\/pass-pro.gif\" alt=\"\" \/><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: medium;\"><strong>5.<\/strong> Under <strong>Security Settings<\/strong>, check the box next to the <strong>Password protect this directory<\/strong> and enter a name for the protected directory like <strong>Password Protected Area<\/strong>. Then click the <strong>Save<\/strong> button.<\/span><br \/>\n<span style=\"font-size: medium;\"><img decoding=\"async\" src=\"\/img\/password-settings.gif\" alt=\"\" \/><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: medium;\"><strong>6.<\/strong> Now click on the <strong>Go back<\/strong> button.<\/span><br \/>\n<span style=\"font-size: medium;\"><img decoding=\"async\" src=\"\/img\/goback.gif\" alt=\"\" \/><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: medium;\"><strong>7.<\/strong> Scroll down the page and under <strong>Create User<\/strong> fill in the username and password fields or use the Password Generator option to generate a new random password and copy the user\/password to a notepad. You will need this when you want to open your password-protected directory and click on the <strong>Save<\/strong> button.<\/span><br \/>\n<span style=\"font-size: medium;\"><img decoding=\"async\" src=\"\/img\/password-pro-user-gen.gif\" alt=\"\" \/><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-size: medium;\">Now, should you try to open your password-protected directory in your browser through the URL www.example.com\/myfolder, which is already password protected, your browser will prompt you to enter username and password.<\/span><br \/>\n<span style=\"font-size: medium;\"><img decoding=\"async\" src=\"\/img\/prompted-for-login.gif\" alt=\"\" \/><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can lock a directory with a password by using the cPanel Password Protected Directories Option. \u00a0 1. Log into your cPanel account. 2. In the Files section, click on Directory Privacy Icon. \u00a0 3. Click the icon to open a folder. \u00a0 4. Click on the name of the directory you want to protect [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"class_list":["post-190","post","type-post","status-publish","format-standard","hentry","category-security-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to protect a folder with username and password in cPanel? - Reselhost<\/title>\n<meta name=\"description\" content=\"How to protect a folder with username and password in cPanel? Reseller Hosting $2,99\/mes Migraci\u00f3n Gratis SSL Gratis Cuentas cPanel Ilimitadas Activaci\u00f3n Inmediata\" \/>\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.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to protect a folder with username and password in cPanel? - Reselhost\" \/>\n<meta property=\"og:description\" content=\"How to protect a folder with username and password in cPanel? Reseller Hosting $2,99\/mes Migraci\u00f3n Gratis SSL Gratis Cuentas cPanel Ilimitadas Activaci\u00f3n Inmediata\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Reselhost\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/reselhost\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-19T10:42:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.reselhost.com\/kb\/wp-content\/uploads\/2021\/08\/face-anuncio.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"648\" \/>\n\t<meta property=\"og:image:height\" content=\"441\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"soporte\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@reselhost\" \/>\n<meta name=\"twitter:site\" content=\"@reselhost\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"soporte\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/\"},\"author\":{\"name\":\"soporte\",\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c492d9c4d151007f1f78cc0e9d64be69\"},\"headline\":\"How to protect a folder with username and password in cPanel?\",\"datePublished\":\"2016-09-19T10:42:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/\"},\"wordCount\":192,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#organization\"},\"articleSection\":[\"Security (cPanel)\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/\",\"name\":\"How to protect a folder with username and password in cPanel? - Reselhost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2016-09-19T10:42:10+00:00\",\"description\":\"How to protect a folder with username and password in cPanel? Reseller Hosting $2,99\\\/mes Migraci\u00f3n Gratis SSL Gratis Cuentas cPanel Ilimitadas Activaci\u00f3n Inmediata\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/how-to-protect-a-folder-with-username-and-password-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to protect a folder with username and password in cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/\",\"name\":\"Reselhost\",\"description\":\"Base de Conocimientos Hosting Reseller Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#organization\",\"name\":\"Reselhost\",\"url\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/logo-grande.png\",\"contentUrl\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/logo-grande.png\",\"width\":200,\"height\":200,\"caption\":\"Reselhost\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/reselhost\",\"https:\\\/\\\/x.com\\\/reselhost\",\"https:\\\/\\\/www.instagram.com\\\/reselhost\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/reselhost\",\"https:\\\/\\\/www.youtube.com\\\/@reselhost\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.reselhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c492d9c4d151007f1f78cc0e9d64be69\",\"name\":\"soporte\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e889bfe45e57e333934f731d2f44d88bc7a50c1d0b8c9b5c48e9a69b5a775459?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e889bfe45e57e333934f731d2f44d88bc7a50c1d0b8c9b5c48e9a69b5a775459?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e889bfe45e57e333934f731d2f44d88bc7a50c1d0b8c9b5c48e9a69b5a775459?s=96&d=mm&r=g\",\"caption\":\"soporte\"},\"sameAs\":[\"https:\\\/\\\/www.intelhost.com\\\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to protect a folder with username and password in cPanel? - Reselhost","description":"How to protect a folder with username and password in cPanel? Reseller Hosting $2,99\/mes Migraci\u00f3n Gratis SSL Gratis Cuentas cPanel Ilimitadas Activaci\u00f3n Inmediata","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.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/","og_locale":"es_ES","og_type":"article","og_title":"How to protect a folder with username and password in cPanel? - Reselhost","og_description":"How to protect a folder with username and password in cPanel? Reseller Hosting $2,99\/mes Migraci\u00f3n Gratis SSL Gratis Cuentas cPanel Ilimitadas Activaci\u00f3n Inmediata","og_url":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/","og_site_name":"Reselhost","article_publisher":"https:\/\/www.facebook.com\/reselhost","article_published_time":"2016-09-19T10:42:10+00:00","og_image":[{"width":648,"height":441,"url":"https:\/\/www.reselhost.com\/kb\/wp-content\/uploads\/2021\/08\/face-anuncio.jpg","type":"image\/jpeg"}],"author":"soporte","twitter_card":"summary_large_image","twitter_creator":"@reselhost","twitter_site":"@reselhost","twitter_misc":{"Escrito por":"soporte","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/"},"author":{"name":"soporte","@id":"https:\/\/www.reselhost.com\/kb\/#\/schema\/person\/c492d9c4d151007f1f78cc0e9d64be69"},"headline":"How to protect a folder with username and password in cPanel?","datePublished":"2016-09-19T10:42:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/"},"wordCount":192,"commentCount":0,"publisher":{"@id":"https:\/\/www.reselhost.com\/kb\/#organization"},"articleSection":["Security (cPanel)"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/","url":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/","name":"How to protect a folder with username and password in cPanel? - Reselhost","isPartOf":{"@id":"https:\/\/www.reselhost.com\/kb\/#website"},"datePublished":"2016-09-19T10:42:10+00:00","description":"How to protect a folder with username and password in cPanel? Reseller Hosting $2,99\/mes Migraci\u00f3n Gratis SSL Gratis Cuentas cPanel Ilimitadas Activaci\u00f3n Inmediata","breadcrumb":{"@id":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.reselhost.com\/kb\/how-to-protect-a-folder-with-username-and-password-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.reselhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to protect a folder with username and password in cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/www.reselhost.com\/kb\/#website","url":"https:\/\/www.reselhost.com\/kb\/","name":"Reselhost","description":"Base de Conocimientos Hosting Reseller Hosting","publisher":{"@id":"https:\/\/www.reselhost.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.reselhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.reselhost.com\/kb\/#organization","name":"Reselhost","url":"https:\/\/www.reselhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.reselhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.reselhost.com\/kb\/wp-content\/uploads\/2023\/05\/logo-grande.png","contentUrl":"https:\/\/www.reselhost.com\/kb\/wp-content\/uploads\/2023\/05\/logo-grande.png","width":200,"height":200,"caption":"Reselhost"},"image":{"@id":"https:\/\/www.reselhost.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/reselhost","https:\/\/x.com\/reselhost","https:\/\/www.instagram.com\/reselhost","https:\/\/www.linkedin.com\/in\/reselhost","https:\/\/www.youtube.com\/@reselhost"]},{"@type":"Person","@id":"https:\/\/www.reselhost.com\/kb\/#\/schema\/person\/c492d9c4d151007f1f78cc0e9d64be69","name":"soporte","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/e889bfe45e57e333934f731d2f44d88bc7a50c1d0b8c9b5c48e9a69b5a775459?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e889bfe45e57e333934f731d2f44d88bc7a50c1d0b8c9b5c48e9a69b5a775459?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e889bfe45e57e333934f731d2f44d88bc7a50c1d0b8c9b5c48e9a69b5a775459?s=96&d=mm&r=g","caption":"soporte"},"sameAs":["https:\/\/www.intelhost.com\/kb"]}]}},"_links":{"self":[{"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/posts\/190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/comments?post=190"}],"version-history":[{"count":0,"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/posts\/190\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/media?parent=190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/categories?post=190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reselhost.com\/kb\/wp-json\/wp\/v2\/tags?post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}