Password Protecting a Directory in Your Shared Hosting Account
NOTE: Before you start, click here to see which version of the FTP File Manager is in your Control Panel. This help article applies to the New FTP File Manager. If you are using the Classic FTP File Manager, see Password Protecting a Directory in Your Shared Hosting Account
The Password Protect feature lets you limit Web access to your hosting account directories. When enabled, users must provide a valid user name and password when first accessing documents in the protected directory.
NOTE: This article applies only to Linux Shared Hosting accounts.
To Password Protect a Directory
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the hosting account you want to use, click Launch.
- From the Tools section, click File Manager.
- Select the directory to set permissions for.
- Click the Privacy icon.
- Select the Password tab.
- Select Password protect.
- If you already have users listed, select the ones to whom you'd like to provide access to the directory. If you'd like to add a user, please follow the directions listed below.
- Click Advanced options and enter the security prompt message you want to display that prompts users to enter a user name and password to access the directory.
- Click OK.
To Add a User Who Can Access a Protected Directory
- In the Password protect tab in the Privacy section of File Manager, ensure Password protect directory is selected.
- Click Add Users.
- Enter a User Name and Password for the user you'd like to add.
- Click OK.
- Repeat steps 3-4 for each user to add.
- Click OK.
For assistance setting the permissions on a Linux directory, see Setting File and Directory Permissions with Linux Hosting Accounts.