{"id":974,"date":"2017-02-26T18:05:20","date_gmt":"2017-02-26T18:05:20","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=974"},"modified":"2021-04-01T20:29:59","modified_gmt":"2021-04-01T20:29:59","slug":"how-to-password-protect-files-and-directories-using-cpanel-directory-privacy","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/how-to-password-protect-files-and-directories-using-cpanel-directory-privacy\/","title":{"rendered":"cPanel Directory Privacy to protect files and directories with password"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"974\" class=\"elementor elementor-974\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-054c539 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"054c539\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-290bee2\" data-id=\"290bee2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a0bcf79 elementor-widget elementor-widget-text-editor\" data-id=\"a0bcf79\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\tcPanel Directory Privacy is a tool provided by cPanel control panel that allow you to protect files or directories with username and password.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-53f97825 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"53f97825\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-12eeff7f\" data-id=\"12eeff7f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f8f0ffc elementor-widget elementor-widget-heading\" data-id=\"f8f0ffc\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to setup cPanel Directory Privacy password protection\n<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8edc348 elementor-widget elementor-widget-text-editor\" data-id=\"8edc348\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol>\n<li>Login to your cPanel control panel using your account credentials.<\/li>\n<li>At <strong>cPanel Home<\/strong> dashboard locate <strong>Files<\/strong> section and click <strong>Directory Privacy<\/strong> icon.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Directory Privacy.\" href=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/04\/cpanel-Directory-Privacy-img.jpg\" data-lightbox=\"roadtrip\" rel=\"lightbox[974]\"><img class=\"thumbnail\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/04\/cpanel-Directory-Privacy-img.jpg\" alt=\"cPanel Directory \" \/><\/a><\/p>\n<\/li>\n<li>From Directory Privacy Page you can see the list of your web directory to select any folder just click the folder name , if you want to select subdirectories click the icon (<img loading=\"lazy\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2017\/02\/cpanel-folder-Directory-Privacy.png\" alt=\"cpanel folder Directory Privacy\" width=\"16\" height=\"16\" \/>),once you reach the target directory you want to protect click the directory name.<\/li>\n<li>cPanel redirect you to Security Settings Page.To start password protect the folder\u00a0 :\n<ol>\n<li>Check <strong>Password protect this directory<\/strong> option.<\/li>\n<li><strong>Enter a name for the protected directory<\/strong>:Enter display label for the directory,This name\u00a0<strong>only<\/strong>\u00a0functions as a label for the directory. and will <strong>NOT<\/strong> change the directory name.<\/li>\n<li>Click <strong>Save<\/strong> button.and you will get green success message Success: <em>The access permissions for \u201cyour_folder\u201d have been set<\/em>. Click <strong>Go back<\/strong> link.<\/li>\n<\/ol>\n<p><a class=\"lightbox-image-link\" title=\"cPanel Directory Privacy Security Settings.\" href=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/04\/cpanel-Directory-Privacy-Security-Settings-img.jpg\" data-lightbox=\"roadtrip\" rel=\"lightbox[974]\"><img class=\"thumbnail\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/04\/cpanel-Directory-Privacy-Security-Settings-img.jpg\" alt=\"cPanel Directory Privacy  Security Settings \" \/><\/a><\/p>\n<\/li>\n<li>Start Create User to access the protected password folder Under <strong>Create User<\/strong>:\n<ol>\n<li><strong>Username<\/strong>: enter new username to access the password protected folder.<\/li>\n<li><strong>New Password<\/strong>:Create a strong password for the username or click Password Generator to generate strong one.<\/li>\n<li><strong>Confirm Password<\/strong>:Re-type the password.<\/li>\n<li>Click <strong>Save<\/strong> Button.<\/li>\n<li>Once you successfully add the user you can see the users included in list under <strong>Authorized Users\u00a0<\/strong><\/li>\n<\/ol>\n<p><a class=\"lightbox-image-link\" title=\"cPanel Directory Privacy Security Create User.\" href=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/04\/cpanel-Directory-Privacy-Create-User-img.png\" data-lightbox=\"\" rel=\"lightbox[974]\"><img class=\"thumbnail\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/04\/cpanel-Directory-Privacy-Create-User-img.png\" alt=\"cPanel Directory Privacy Security Create User\" \/><\/a><\/p>\n<\/li>\n<\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-59b111c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"59b111c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-690066f\" data-id=\"690066f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6b6e2a3 elementor-widget elementor-widget-heading\" data-id=\"6b6e2a3\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Remove cPanel Directory Privacy password protection\n<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7187028 elementor-widget elementor-widget-text-editor\" data-id=\"7187028\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol>\n\t<li>Login to your cPanel .<\/li>\n\t<li>At <strong>cPanel Home<\/strong> dashboard locate <strong>Files<\/strong> section and click <strong>Directory Privacy<\/strong> icon.<\/li>\n\t<li>From Directory Privacy Page you can see the list of your web directories to select the protected folder usually protected folders or directories has icon (<img loading=\"lazy\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2017\/02\/cpanel-protected-folder-Directory-Privacy.png\" alt=\"cpanel-protected folder Directory Privacy\" width=\"18\" height=\"22\" \/>)\u00a0 click the folder.<\/li>\n\t<li>Remove the checkbox from Password protect this directory. You can leave the Authorized Users ,All usernames and passwords are retained when you remove password protection from the directory, but they become inactive.\u00a0<\/li>\n<\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-df141a8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"df141a8\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-315a023\" data-id=\"315a023\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-67a61b6 elementor-widget elementor-widget-heading\" data-id=\"67a61b6\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Remove cPanel Directory Privacy Authorized Users\n<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-427bd15 elementor-widget elementor-widget-text-editor\" data-id=\"427bd15\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol>\n<li>Login to your cPanel .<\/li>\n<li>At <strong>cPanel Home<\/strong> dashboard locate <strong>Files<\/strong> section and click <strong>Directory Privacy<\/strong> icon.<\/li>\n<li>From Directory Privacy Page you can see the list of your web directories to select the protected folder usually protected folders or directories has icon (<img loading=\"lazy\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2017\/02\/cpanel-protected-folder-Directory-Privacy.png\" alt=\"cpanel-protected folder Directory Privacy\" width=\"18\" height=\"22\" \/>)\u00a0 click the folder.<\/li>\n<li>Remove the checkbox from Password protect this directory. You can leave the Authorized Users ,All usernames and passwords are retained when you remove password protection from the directory, but they become inactive.\u00a0<\/li>\n<\/ol>\n<p><a class=\"lightbox-image-link\" title=\"cPanel Directory Privacy Security Authorized Users.\" href=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/04\/cpanel-Directory-Privacy-Authorized-Users-img.png\" data-lightbox=\"\" rel=\"lightbox[974]\"><img class=\"thumbnail\" src=\"https:\/\/www.xsofthost.com\/help\/wp-content\/uploads\/2021\/04\/cpanel-Directory-Privacy-Authorized-Users-img.png\" alt=\"cPanel Directory Privacy Authorized Users\" \/><\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>cPanel Directory Privacy is a tool provided by cPanel control panel that allow you to protect files or directories with username and password. How to setup cPanel Directory Privacy password protection Login to your cPanel control panel using your account credentials. At cPanel Home dashboard locate Files section and click Directory Privacy icon. From Directory [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":983,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[4,154],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/974"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=974"}],"version-history":[{"count":64,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/974\/revisions"}],"predecessor-version":[{"id":3878,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/974\/revisions\/3878"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/983"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}