Step by step instructions Create a subdirectory in your public_html directory. For example, cd ~/public_html mkdir Protected cd Protected Create an HTML document in the Protected directory. Let's call the page test.html. You can do this by typing: pico test.html Create a file in the Protected directory called .htaccess. You can do this by typing: pico .htaccess The contents of the file should be similar to this: AuthType Basic AuthName ByPassword AuthUserFile /acs6c/userid/.htpasswd AuthGroupFile /acs6c/userid/.htgroup require user my-username require group my-user-group You must change the AuthGroupFile and AuthUserFile lines to contain your actual home directory in place of /acs6c/userid. This should be the same as the first part of your normal AIX prompt. my-username can be any name you like, however, it can have no spaces in it. Similarly, my-user-group can be anything you like (but no spaces); you'll use it later. NOTE: It is important that this file end with a new line, otherwise it will not function properly. Create a file to manage the list of users who can access your file. These users, and passwords, have no relation to AIX usernames. You can make up whatever names you like, and tell your friends or department members. You'll also have to make a username/password combination for yourself. Use the command htpasswd to create the file. The -c flag creates a new file. ~/.htpasswd tells the command to create a file named .htpasswd in your home directory. htpasswd -c ~/.htpasswd tom type in the password as requested. To add additional users just type: htpasswd ~/.htpasswd USERNAME Create a file in your home directory containing a list of groups of users called .htgroup. You can do this by typing: pico ~/.htgroup The file should look like this: my-user-group: tom dick harry Each line in this file refers to a different group. You can use this same .htgroup file to create many groups, for giving different sets of users in your .htpasswd access to different groups of pages. Set appropriate access to all of these files so that the WWW server can read them: aclput -i /Web/utils/pub/dir_perms ~/public_html/Protected aclput -i /Web/utils/pub/file_perms ~/public_html/Protected/test.html aclput -i /Web/utils/pub/file_perms ~/public_html/Protected/.htaccess aclput -i /Web/utils/pub/file_perms ~/.htpasswd aclput -i /Web/util/pub/file_perms ~/.htgroup Test your pages! Trouble shooting. The most common problem is that the file permissions are not set properly. Try typing all of the aclput commands over again. If you're still having problems, do the group names match in the .htaccess file and the .htgroup file? Do the usernames match in the .htgroup file and the .htpasswd file? If you edit any of the files, you may have to reset the file permissions, depending on which editor you use.