Controlling Web Page Access With HTAccess

from http://www.mcs.kent.edu/system/web_help/htaccess/introduction.html

Creating the .htgroup file

The .htgroup file contains a list of groups and the users in each group. The groups can then be used in the access instruction to allow access for the entire group.

Notes:

  1. The group names are completely arbitrary (as are usernames and passwords -- see .htpasswd).
  2. Each group entry must be on its own separate line in the file.
  3. The users listed must also be in the .htpasswd file.
  4. A username can be in more than one group entry.
Example