This feature is also known as HTTP Authentication. Here’s how to do it:
This takes: 2 minutes.
- Log in to Plesk and choose “Password Protected Direcotires” under your domain
- Select Add Protected Directory. Enter the directory name location (e.g.: httpdocs for your primary domain, addon domains and subdomains default to the domain/subdomain itself). Make up a title for the protected directory and click OK.
- Once the directory is added, click on the directory. This will allow you to set a user and password to access the directory.
- Click Add New User and enter in the username, secure password, and then confirm the password, and click OK.
That’s it! If you visit the URL that corresponds with that directory, you’ll be prompted to enter a username and password before you can view it.