If you place a
.htaccess file with right contents (see below) in any of these directories, any pages or files in that directory will be password protected. That is, when somebody tries to browse any pages in this directory, he/she will be asked for a login name and password.
Let's say you are user johndoe.
With your favorite text editor, create a file named
.htaccess (notice the dot in front of htaccess) with the following contents:
AuthName "Test Access"
You need to replace every occurence of "johndoe" with your helios login name and replace "Test Access" with whatever is appropriate for you. Then create a
.htpasswd file in your apollo home area (i.e. /home/johndoe/) with the following shell command:
user@apollo$ htpasswd -c /home/johndoe/.htpasswd user0
.htpasswd is the password file name and johndoe is the login name for your protected pages. Once the
.htpasswd is created, you can add more user and password by issuing the following commands in your shell:
user@apollo$ htpasswd /home/johndoe/.htpasswd user1
user@apollo$ htpasswd /home/johndoe/.htpasswd user2
user@apollo$ htpasswd /home/johndoe/.htpasswd user3
.htpasswd file doesn't need to be in your home directory but must be consistent with what you have specified in