Detailed Instructions for Password Protection If you have more than one domain on your account, first you are asked which domain you wish to enable password protection for. After choosing the domain, you are brought to the main menu for password protection. From this menu, Windows users additionally need to enable password protection for the domain by clicking on IIS Password under Enable/Disable at the bottom left, checking Password Protection to On, and clicking Update. Unix users do not need to do this step. An authentication group is a group name associated with a list of users. The groups are stored in the file .htgroup in your home directory. You can add, delete, edit, view groups and list all the groups you have using this myCP tool. Please do not edit these files manually as it may cause problems for myCP. Each group has its own users. A user can belong to multiple groups.
All users are stored in the file .htpasswd in your home directory. You can add, delete, edit, view, search users and list all the users you have using this myCP tool. Again, please do not edit this file manually. Every user should belong to at least one group. A user can belong to multiple groups. Before you add a new user, you need to create at least one group.
After you have added some groups and users, you can start protecting your directories. Currently we have provided two types of protection: By user groups and by referral URLs. All information are stored in the .htaccess file under the directory you are protecting. Please do not manually modify this file as it may hinder myCP's recognition of it. If a directory is protected by a user group, the visitor must use a user account and password to access your files under that directory. If the visitors do not have a valid user account, they will get an authorize failed page. If a directory is protected by referral URLs, the visitors must follow the links from the allowed URL to access files under that directory. If visitors come from other referral URLs, they will be redirected to a URL you have defined.
|