{"id":4136,"date":"2026-10-13T13:15:00","date_gmt":"2026-10-13T13:15:00","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=4136"},"modified":"2026-10-13T13:15:03","modified_gmt":"2026-10-13T13:15:03","slug":"how-to-create-a-password-protected-directory-in-plesk","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/","title":{"rendered":"How to Create a Password-Protected Directory in Plesk"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>Securing sensitive website directories is an important part of website administration. If your website contains private documents, internal reports, development files, or restricted content, you may want to prevent unauthorized users from accessing them.<\/p>\n\n\n\n<p>Plesk provides a built-in feature called <strong>Password-Protected Directories<\/strong> that allows website administrators to restrict access to specific directories using a username and password. You can configure this feature directly from the Plesk control panel without manually editing Apache configuration files.<\/p>\n\n\n\n<p>In this guide, you will learn how to create a password-protected directory in Plesk, configure user credentials, test the authentication process, and troubleshoot common issues.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is a Password-Protected Directory in Plesk?<\/h2>\n\n\n\n<p>A password-protected directory is a website folder that requires users to authenticate before accessing its contents.<\/p>\n\n\n\n<p>For example, if you have a directory named <code>private<\/code>, visitors must enter valid login credentials before viewing its protected pages or files.<\/p>\n\n\n\n<p>Common use cases include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Protecting confidential documents and reports.<\/li>\n\n\n\n<li>Restricting access to staging or development content.<\/li>\n\n\n\n<li>Securing internal project files.<\/li>\n\n\n\n<li>Sharing private resources with authorized users.<\/li>\n\n\n\n<li>Limiting access to selected website sections.<\/li>\n<\/ul>\n\n\n\n<p>Plesk typically implements directory-level password protection through web server authentication, such as HTTP Basic Authentication.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>Before configuring password protection, ensure that you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access to the Plesk control panel.<\/li>\n\n\n\n<li>A website or domain hosted on your Plesk server.<\/li>\n\n\n\n<li>Permission to manage website directories.<\/li>\n\n\n\n<li>A directory that you want to protect.<\/li>\n\n\n\n<li>A strong password for the authorized user.<\/li>\n<\/ul>\n\n\n\n<p>The exact menu names may vary depending on your Plesk version, hosting configuration, and user permissions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Log In to the Plesk Control Panel<\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open your Plesk control panel URL in a web browser.<\/li>\n\n\n\n<li>Enter your Plesk username and password.<\/li>\n\n\n\n<li>Click <strong>Log In<\/strong>.<\/li>\n\n\n\n<li>Open the <strong>Websites &amp; Domains<\/strong> section.<\/li>\n\n\n\n<li>Select the domain for which you want to configure directory protection.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"545\" height=\"579\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130.png\" alt=\"\" class=\"wp-image-4138\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130.png 545w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130-282x300.png 282w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130-141x150.png 141w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130-300x319.png 300w\" sizes=\"auto, (max-width: 545px) 100vw, 545px\" \/><\/figure>\n\n\n\n<p>For example:<\/p>\n\n\n\n<p><a href=\"https:\/\/example.com\">https:\/\/example.com<\/a><\/p>\n\n\n\n<p>Your hosting provider may supply a different URL or port for accessing Plesk.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Open Password-Protected Directories<\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Navigate to <strong>Websites &amp; Domains<\/strong>.<\/li>\n\n\n\n<li>Locate your domain.<\/li>\n\n\n\n<li>Find the <strong>Password-Protected Directories<\/strong> option.<\/li>\n\n\n\n<li>Click it to open the directory protection settings.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"804\" height=\"263\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-9.png\" alt=\"\" class=\"wp-image-4140\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-9.png 804w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-9-300x98.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-9-768x251.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-9-150x49.png 150w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><\/figure>\n\n\n\n<p>If you cannot find this option, your hosting provider may have disabled it, or your account may not have sufficient permissions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Create a Protected Directory<\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Click <strong>Add Protected Directory<\/strong>.<\/li>\n\n\n\n<li>Enter the directory path you want to protect.<\/li>\n\n\n\n<li>Provide a name for the protected area, such as <code>Private Documents<\/code>.<\/li>\n\n\n\n<li>Save the configuration.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"807\" height=\"316\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-10.png\" alt=\"\" class=\"wp-image-4141\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-10.png 807w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-10-300x117.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-10-768x301.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-10-150x59.png 150w\" sizes=\"auto, (max-width: 807px) 100vw, 807px\" \/><\/figure>\n\n\n\n<p>For example, you might protect a directory at:<\/p>\n\n\n\n<p><a href=\"https:\/\/example.com\/private\">https:\/\/example.com\/private<\/a><\/p>\n\n\n\n<p>Depending on your Plesk interface, you may need to specify the directory path relative to the website document root.<\/p>\n\n\n\n<p><strong>Important:<\/strong> Select the correct directory. Protecting the document root or a parent directory may restrict access to more of your website than intended.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Create a User Account<\/h2>\n\n\n\n<p>After creating the protected directory, you need to configure an authorized user.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open the newly created protected directory.<\/li>\n\n\n\n<li>Select the option to add a user.<\/li>\n\n\n\n<li>Enter a username, such as <code>privateuser<\/code>.<\/li>\n\n\n\n<li>Enter a strong password.<\/li>\n\n\n\n<li>Confirm the password if requested.<\/li>\n\n\n\n<li>Save the user account.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"372\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105611-1.png\" alt=\"\" class=\"wp-image-4147\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105611-1.png 803w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105611-1-300x139.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105611-1-768x356.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105611-1-150x69.png 150w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/figure>\n\n\n\n<p>Use a unique password that is not shared with your Plesk administrator account or other services.<\/p>\n\n\n\n<p>You can create additional users if multiple people need access to the protected directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Test the Password Protection<\/h2>\n\n\n\n<p>After saving the configuration, test it from your web browser.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open a new private or incognito browser window.<\/li>\n\n\n\n<li>Visit the protected directory URL.Example:<code>https:\/\/example.com\/private\/<\/code><\/li>\n\n\n\n<li>Confirm that the browser requests a username and password.<\/li>\n\n\n\n<li>Enter the credentials you configured in Plesk.<\/li>\n\n\n\n<li>Verify that authorized users can access the protected content.<\/li>\n\n\n\n<li>Test again with incorrect credentials to confirm that access is denied.<\/li>\n<\/ol>\n\n\n\n<p>If the directory contains an index file, the browser may display that page after successful authentication.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"447\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-11.png\" alt=\"\" class=\"wp-image-4142\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-11.png 672w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-11-300x200.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-11-150x100.png 150w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/figure>\n\n\n\n<p>If you are already logged in or have cached credentials, use a private browser window to test the authentication process properly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Verify That the Protection Works<\/h2>\n\n\n\n<p>You can also test the protected URL using <code>curl<\/code> from a terminal.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check access without credentials<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -I https:\/\/example.com\/private\/<\/code><\/pre>\n\n\n\n<p>Depending on your web server configuration, you should normally receive an HTTP <code>401 Unauthorized<\/code> response when authentication is required.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Test access with valid credentials<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -I -u privateuser https:\/\/example.com\/private\/<\/code><\/pre>\n\n\n\n<p>The command prompts you for the password rather than placing it directly in the command history.<\/p>\n\n\n\n<p>A successful request should return an appropriate response, commonly <code>200 OK<\/code>, although redirects and directory configuration can produce other valid status codes.<\/p>\n\n\n\n<p>Replace <code>example.com<\/code>, <code>\/private\/<\/code>, and <code>privateuser<\/code> with your actual domain, directory, and username.<\/p>\n\n\n\n<p><strong>Security note:<\/strong> Use HTTPS when testing credentials. Avoid putting passwords directly in shell commands because they may be recorded in shell history or exposed through process information.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7: Manage Users and Directory Access<\/h2>\n\n\n\n<p>Plesk allows you to manage access to protected directories after the initial setup.<\/p>\n\n\n\n<p>Depending on the available options, you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add new authorized users.<\/li>\n\n\n\n<li>Change existing user passwords.<\/li>\n\n\n\n<li>Remove users who no longer require access.<\/li>\n\n\n\n<li>Modify the protected directory description or path.<\/li>\n\n\n\n<li>Remove password protection when it is no longer required.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"670\" height=\"447\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-12.png\" alt=\"\" class=\"wp-image-4143\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-12.png 670w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-12-300x200.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-12-150x100.png 150w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/figure>\n\n\n\n<p>Review user access periodically, particularly when employees, developers, or contractors no longer need access to private resources.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Remove Password Protection<\/h2>\n\n\n\n<p>If you want to make a directory publicly accessible again, follow these steps:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to Plesk.<\/li>\n\n\n\n<li>Navigate to <strong>Websites &amp; Domains<\/strong>.<\/li>\n\n\n\n<li>Open <strong>Password-Protected Directories<\/strong>.<\/li>\n\n\n\n<li>Select the directory you want to make public.<\/li>\n\n\n\n<li>Remove the directory&#8217;s password protection using the available delete or removal option.<\/li>\n\n\n\n<li>Confirm the change if prompted.<\/li>\n\n\n\n<li>Test the URL in a private browser window.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"446\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-13.png\" alt=\"\" class=\"wp-image-4144\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-13.png 672w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-13-300x199.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/image-13-150x100.png 150w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/figure>\n\n\n\n<p>Be careful when removing protection from a directory that contains confidential information. Verify that the content is intended to be publicly accessible before making this change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Problems and Troubleshooting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. The Password Prompt Does Not Appear<\/h3>\n\n\n\n<p><strong>Possible causes:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The wrong directory was protected.<\/li>\n\n\n\n<li>The URL points to another directory or virtual host.<\/li>\n\n\n\n<li>A reverse proxy or web server configuration is interfering.<\/li>\n\n\n\n<li>The protection settings have not been applied correctly.<\/li>\n<\/ul>\n\n\n\n<p><strong>Solution:<\/strong><br>Verify the protected directory path in Plesk, check the exact URL, and test the page in a private browser window.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. The Browser Returns HTTP 401 Unauthorized<\/h3>\n\n\n\n<p>An HTTP <code>401 Unauthorized<\/code> response generally indicates that authentication is required or that the supplied credentials were not accepted.<\/p>\n\n\n\n<p><strong>Solution:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Confirm the username and password.<\/li>\n\n\n\n<li>Check whether the user is assigned to the correct protected directory.<\/li>\n\n\n\n<li>Reset the password in Plesk if necessary.<\/li>\n\n\n\n<li>Try again using a private browser window.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. The Browser Returns HTTP 403 Forbidden<\/h3>\n\n\n\n<p>A <code>403 Forbidden<\/code> response may indicate file permissions, web server access rules, or directory indexing restrictions.<\/p>\n\n\n\n<p><strong>Solution:<\/strong><br>Check the directory permissions and web server configuration. Also verify that the directory contains an appropriate index file if directory listing is disabled.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Password Protection Works on One Page but Not Another<\/h3>\n\n\n\n<p>Some files or URLs may be served from a different directory, application, or virtual host.<\/p>\n\n\n\n<p><strong>Solution:<\/strong><br>Check the actual document root and URL mapping in Plesk. Ensure that the files you want to restrict are inside the protected directory.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. The Password-Protected Directories Option Is Missing<\/h3>\n\n\n\n<p>The feature may be unavailable because of hosting-provider restrictions, user permissions, or differences in the Plesk interface.<\/p>\n\n\n\n<p><strong>Solution:<\/strong><br>Check your subscription permissions or contact your hosting provider. If you administer the server, review the relevant Plesk configuration and web server support.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Security Best Practices<\/h2>\n\n\n\n<p>Follow these recommendations when protecting directories in Plesk:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Use HTTPS:<\/strong> Protect credentials during transmission by ensuring that the website has a valid TLS certificate.<\/li>\n\n\n\n<li><strong>Choose strong passwords:<\/strong> Use unique passwords and avoid shared or easily guessed credentials.<\/li>\n\n\n\n<li><strong>Limit access:<\/strong> Give directory access only to users who need it.<\/li>\n\n\n\n<li><strong>Keep software updated:<\/strong> Apply security updates to Plesk, the operating system, and the web server.<\/li>\n\n\n\n<li><strong>Review permissions:<\/strong> Avoid making private files publicly accessible through alternate URLs or application routes.<\/li>\n\n\n\n<li><strong>Monitor access:<\/strong> Review available web server logs for unusual or repeated authentication failures.<\/li>\n\n\n\n<li><strong>Use application-level security when needed:<\/strong> For sensitive business information, use proper authorization controls in addition to directory-level authentication.<\/li>\n<\/ol>\n\n\n\n<p>HTTP Basic Authentication is not a substitute for application-level authorization. It is also important to understand that password protection restricts HTTP access to the configured directory; it does not encrypt files stored on the server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Creating a password-protected directory in Plesk is a simple way to restrict access to private website content without manually configuring web server authentication.<\/p>\n\n\n\n<p>By navigating to <strong>Websites &amp; Domains \u2192 Password-Protected Directories<\/strong>, creating a protected directory, and adding authorized users, you can secure selected website resources through the Plesk control panel.<\/p>\n\n\n\n<p>Always test the configuration, use HTTPS, maintain strong passwords, and review access permissions regularly to help keep your website secure.<\/p>\n\n\n\n<p><strong>Recommended next step:<\/strong> Review your Plesk directory permissions and confirm that only the intended website content is protected.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions (FAQs)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Can I password-protect a directory without using SSH?<\/h3>\n\n\n\n<p>Yes. If your Plesk account provides the Password-Protected Directories feature, you can configure directory protection directly through the control panel.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Can I create multiple users for one protected directory?<\/h3>\n\n\n\n<p>Yes. Plesk generally supports multiple authorized users for a protected directory, subject to the available configuration and permissions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Does password protection work with HTTPS?<\/h3>\n\n\n\n<p>Yes. Directory-level authentication can work with HTTPS. Using HTTPS is strongly recommended because it encrypts the connection, including authentication credentials.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Can I protect a WordPress directory using Plesk?<\/h3>\n\n\n\n<p>Yes, but proceed carefully. Protecting directories used by WordPress may prevent visitors, plugins, APIs, or administrative functions from working correctly. Test the configuration before applying it to a production website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. Does password protection encrypt my files?<\/h3>\n\n\n\n<p>No. Password protection controls access through the web server. It does not encrypt files stored on disk. Use file encryption and appropriate server permissions when storage-level protection is required.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6. How can I change the password for a protected directory?<\/h3>\n\n\n\n<p>Open <strong>Websites &amp; Domains \u2192 Password-Protected Directories<\/strong>, select the protected directory, and manage the associated user account. The exact controls depend on your Plesk version.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Related Articles<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/09\/18\/how-to-add-a-user-in-plesk\/\">How to Add a User in Plesk<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/09\/21\/how-to-create-a-user-role-in-plesk\/\">How to Create a User Role in Plesk<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/09\/21\/how-to-change-an-existing-user-role-in-plesk\/\">How to Change an Existing User Role in Plesk<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Talk to our experts.<\/h2>\n\n\n\n<p>Looking for the right technology solution for your business? Our team of experts can help you with development, cloud, DevOps, design, and a wide range of other technology needs. Get in touch with our team here: <a href=\"https:\/\/pheonixsolutions.com\/contact\">Contact Page<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Securing sensitive website directories is an important part of website administration. If your website contains private documents, internal reports, development files, or restricted content, you may want to prevent unauthorized users from accessing them. Plesk provides a built-in feature called Password-Protected Directories that allows website administrators to restrict access to specific directories using a ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[226],"tags":[16],"class_list":["post-4136","post","type-post","status-publish","format-standard","hentry","category-plesk","tag-plesk"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create a Password-Protected Directory in Plesk - PheonixSolutions Knowledge-Base<\/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:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Password-Protected Directory in Plesk - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction Securing sensitive website directories is an important part of website administration. If your website contains private documents, internal reports, development files, or restricted content, you may want to prevent unauthorized users from accessing them. Plesk provides a built-in feature called Password-Protected Directories that allows website administrators to restrict access to specific directories using a ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-13T13:15:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-13T13:15:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130.png\" \/>\n\t<meta property=\"og:image:width\" content=\"545\" \/>\n\t<meta property=\"og:image:height\" content=\"579\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"thiyagarajan v\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"thiyagarajan v\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/\"},\"author\":{\"name\":\"thiyagarajan v\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/d05e5b45071591bdf367a121b6852668\"},\"headline\":\"How to Create a Password-Protected Directory in Plesk\",\"datePublished\":\"2026-10-13T13:15:00+00:00\",\"dateModified\":\"2026-10-13T13:15:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/\"},\"wordCount\":1658,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Screenshot-2026-10-13-105130.png\",\"keywords\":[\"Plesk\"],\"articleSection\":[\"Plesk\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/\",\"name\":\"How to Create a Password-Protected Directory in Plesk - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Screenshot-2026-10-13-105130.png\",\"datePublished\":\"2026-10-13T13:15:00+00:00\",\"dateModified\":\"2026-10-13T13:15:03+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/d05e5b45071591bdf367a121b6852668\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Screenshot-2026-10-13-105130.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Screenshot-2026-10-13-105130.png\",\"width\":545,\"height\":579},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/10\\\/13\\\/how-to-create-a-password-protected-directory-in-plesk\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a Password-Protected Directory in Plesk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/d05e5b45071591bdf367a121b6852668\",\"name\":\"thiyagarajan v\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee2869bd14622272f64481a22d08f344cf374add59cc30ba7b8f3e887b120b9a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee2869bd14622272f64481a22d08f344cf374add59cc30ba7b8f3e887b120b9a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ee2869bd14622272f64481a22d08f344cf374add59cc30ba7b8f3e887b120b9a?s=96&d=mm&r=g\",\"caption\":\"thiyagarajan v\"},\"sameAs\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-admin\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/thiyagarajan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Password-Protected Directory in Plesk - PheonixSolutions Knowledge-Base","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:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Password-Protected Directory in Plesk - PheonixSolutions Knowledge-Base","og_description":"Introduction Securing sensitive website directories is an important part of website administration. If your website contains private documents, internal reports, development files, or restricted content, you may want to prevent unauthorized users from accessing them. Plesk provides a built-in feature called Password-Protected Directories that allows website administrators to restrict access to specific directories using a ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2026-10-13T13:15:00+00:00","article_modified_time":"2026-10-13T13:15:03+00:00","og_image":[{"width":545,"height":579,"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130.png","type":"image\/png"}],"author":"thiyagarajan v","twitter_card":"summary_large_image","twitter_misc":{"Written by":"thiyagarajan v","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/"},"author":{"name":"thiyagarajan v","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/d05e5b45071591bdf367a121b6852668"},"headline":"How to Create a Password-Protected Directory in Plesk","datePublished":"2026-10-13T13:15:00+00:00","dateModified":"2026-10-13T13:15:03+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/"},"wordCount":1658,"commentCount":0,"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130.png","keywords":["Plesk"],"articleSection":["Plesk"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/","name":"How to Create a Password-Protected Directory in Plesk - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130.png","datePublished":"2026-10-13T13:15:00+00:00","dateModified":"2026-10-13T13:15:03+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/d05e5b45071591bdf367a121b6852668"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/#primaryimage","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130.png","contentUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2026\/10\/Screenshot-2026-10-13-105130.png","width":545,"height":579},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/10\/13\/how-to-create-a-password-protected-directory-in-plesk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to Create a Password-Protected Directory in Plesk"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/d05e5b45071591bdf367a121b6852668","name":"thiyagarajan v","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ee2869bd14622272f64481a22d08f344cf374add59cc30ba7b8f3e887b120b9a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ee2869bd14622272f64481a22d08f344cf374add59cc30ba7b8f3e887b120b9a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ee2869bd14622272f64481a22d08f344cf374add59cc30ba7b8f3e887b120b9a?s=96&d=mm&r=g","caption":"thiyagarajan v"},"sameAs":["https:\/\/pheonixsolutions.com\/knowledge-base\/wp-admin"],"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/thiyagarajan\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/4136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=4136"}],"version-history":[{"count":4,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/4136\/revisions"}],"predecessor-version":[{"id":4148,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/4136\/revisions\/4148"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=4136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=4136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=4136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}