Web Directory Protection
Step 1: Users and Groups
Create a list of users
The file containing usernames and passwords should look something like this:
joe:5yAEsJB1XIEuo
jane:73KIYa1OmO8U2
tommy:58kT9aNwCv4C.
tammy:baTI.uw9Y58xA
To create it, do the following:
- Open up a plain-text editor (i.e. Notepad).
- Enter a username and password into the utility below. Click Encrypt.
Note: These are usernames and passwords of your choice. Do NOT use UCLA Logon credentials. - Copy and paste the generated line of text into the text editor.
- Repeat for additional users, one username:password pair per line.
- Save the file as "htusers" (include the quotation marks).
Create a list of groups (optional)
The file containing group names and members should look something like this:
bruins:joe,jane
trojans:tommy,tammy
guys:joe,tommy
girls:jane,tammy
To create it, do the following:
- Open up a plain-text editor (i.e. Notepad).
- Enter a group name and colon, followed by member usernames separated by commas.
Note: The usernames must exist in the htusers file. - Repeat for additional groups, one group per line.
- Save the file as "htgroup" (include the quotation marks).
Upload the files
The user and group files need to be placed in the root folder (the highest level directory):
- Connect to your BOL FTP site.
- Select View menu > Go to > Up One Level.
- Upload htusers (and htgroup, if you created it).
