Overview
It may be necessary to password protect a directory or folder on your web
site to prevent general public access or to prevent public download of Access
databases stored within a folder.
You can easily password protect a directory using the Plesk Server
Administrator following the instructions below:
Password
Protecting a Directory for Unix Hosting Accounts
- Login to the Plesk Server Administrator.
- Select the domain name you wish to setup password protected directories
for.
- Click on the Protected Directories button.
- Click Add New Directory button.
- Specify the path to the directory that you wish to password protect.
This
can be any directory existing in the site, for example: /admin. If the directory
that you would like to protect has not yet been created, specify the path and
the directory name and Plesk will create it for you. - Leave the default Directory Location values set to Non-SSL and SSL.
- In the Header Text box, type a resource description or a welcoming message
that your users will see when they visit the protected area.
- Click OK. The directory you specified will be protected.
- To add authorised users, click Add New User.
- Specify the login name and password that will be used for accessing the
protected area. The password should be from 5 to 14 characters in length. Click
OK.
- To add more authorised users for this protected resource, repeat the steps 9
and 10.
Password
Protecting a Directory for Windows Hosting Accounts
- Login to the Plesk Server Administrator.
- Select the domain name you wish to setup password protected directories
for.
- Click on the Protected URLs button.
- Click Add New Directory button.
- Specify the path to the directory that you wish to password protect.
- This can be any directory existing in the site, for example: /admin.
- In the Realm access text box, type a resource description or a welcoming
message that your users will see when they visit the protected area.
- Click OK. The directory you specified will be protected.
- To add authorised users, click Add New User.
- Specify the login name and password that will be used for accessing the
protected area. The password should be from 5 to 14 characters in length. Click
OK.
- To add more authorised users for this protected resource, repeat the steps 9
and 10.
|