{"id":38332,"date":"2017-04-05T13:29:19","date_gmt":"2017-04-05T18:29:19","guid":{"rendered":"http:\/\/webirix.com\/?p=38332"},"modified":"2017-04-05T13:32:45","modified_gmt":"2017-04-05T18:32:45","slug":"privacidad-del-directorio-cpanel","status":"publish","type":"post","link":"https:\/\/webirix.com\/en\/privacidad-del-directorio-cpanel\/","title":{"rendered":"Cpanel directory privacy"},"content":{"rendered":"<p>This feature of cPanel allows us to protect certain directories with a username and password. If a directory is protected by this, then if someone at the front of your website tries to access the file, they are asked to provide a username and password, if the password name does not match, then the user does not You will be able to view the contents of that directory.<\/p>\n<p>To set a password for a directory, use the following steps -<\/p>\n<p>Step 1 - Once inside cpanel, click<b> Directory Privacy\u00a0<\/b>in the Archives Section.<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Principal-privacidad-de-directorio.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-38333 aligncenter\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Principal-privacidad-de-directorio-300x127.png\" alt=\"\" width=\"472\" height=\"200\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Principal-privacidad-de-directorio-300x127.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Principal-privacidad-de-directorio-768x326.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Principal-privacidad-de-directorio-1024x434.png 1024w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Principal-privacidad-de-directorio-600x254.png 600w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Principal-privacidad-de-directorio.png 1349w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/a><\/p>\n<p>Step 2 - Navigating within your directories to find the directory you want to protect. Use the icon on the left side to open a directory.<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-38334 aligncenter\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio2-300x127.png\" alt=\"\" width=\"470\" height=\"199\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio2-300x127.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio2-768x326.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio2-1024x434.png 1024w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio2-600x254.png 600w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio2.png 1349w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/a><\/p>\n<p>Step 3 - Select the directory you want to protect by clicking on the folder name, you will get same settings as shown below.<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-38335 aligncenter\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio3-300x178.png\" alt=\"\" width=\"470\" height=\"279\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio3-300x178.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio3-768x455.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio3-200x120.png 200w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio3-600x355.png 600w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/cPanel-Privacidad-del-directorio3.png 993w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/a><\/p>\n<p>Step 4 - Select password protect this directory box, enter a label you want to display in the interface, click Save to protect this directory.<\/p>\n<p>Step 5 - To give users access, you will have to create users. Enter username and password to create a new user, who will have access to this directory from the frontend.<\/p>\n<p>Step 6 - Click Save to give this user access. You can also create more than one user here.<\/p>\n<p>If you now try to access your password protected directory, you will get a symbol like this<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/Captura-asdfqas.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-38337 aligncenter\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/Captura-asdfqas-300x186.png\" alt=\"\" width=\"369\" height=\"229\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/Captura-asdfqas-300x186.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/Captura-asdfqas.png 406w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/a><\/p>\n<p>Now you can enter the username and password to access this directory.<\/p>","protected":false},"excerpt":{"rendered":"<p>This feature of cPanel allows us to protect certain directories with a username and password. If a directory is protected by this, then if someone at the front of your website tries to access the file, they are asked to provide a username and password, if the name of the ...<\/p>","protected":false},"author":25,"featured_media":38338,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2017],"tags":[],"class_list":["post-38332","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel-hosting"],"jetpack_featured_media_url":"https:\/\/webirix.com\/wp-content\/uploads\/2017\/04\/Captura-asdfqas-1.png","_links":{"self":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/comments?post=38332"}],"version-history":[{"count":2,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38332\/revisions"}],"predecessor-version":[{"id":38339,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38332\/revisions\/38339"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media\/38338"}],"wp:attachment":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media?parent=38332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/categories?post=38332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/tags?post=38332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}