Network Appliance(TM)

Manual Pages


Table of Contents

NAME

httpd.access - authentication controls for HTTP access

SYNOPSIS

/etc/httpd.access

DESCRIPTION

The HTTP daemon can apply autghentication controls to individual users or groups on a directory-tree by directory-tree basis. The file /etc/httpd.acces specifies, for each access-cntrolled tree:

The syntax is common to the access control syntax used by NCSA and by Apache, and supports a subset of their directives. (This syntax was adopted so that is possible to copy an existing NCSA or Apache access file to the filer without editing or reformatting, and the supported directives will work.)

SYNTAX

The supported directives are:
<Directory directory_name>
</Directory>
AuthName Title phrase
require user user_id[, user_id,...]
require group group_id[, group_id,...]

where Title phrase is a word or phrase that will be passed to the authentication dialog as a title for the dialog that will prompt the user for a password.

EXAMPLES

The following will restrict access to the file /home/htdocs/private/bob so that only user dole can access it, and only after supplying the required password. The authentication dialog will be titled ``My private stuff.''

<Directory /home/htdocs/private/bob>
AuthName My private stuff
<Limit GET>
require user dole
</Limit>
</Directory>

Note that the <Limit GET> and </Limit> directives are not supported, but can be retained for format consistency with NCSA and Apache. The web filer just ignores them.

The following will restrict access to the directory tree /home/htdocs/private/conspiracy to the group ``guyinblack'', which consists of the users whose ID's are cancer, deepthroat, mrx, and skinner. The authentication dialog will be titled ``Area 51.''

<Directory /home/htdocs/private/conspiracy> AuthName Area 51
<Limit GET>
require group guyinblack
</Limit GET>
</Directory>

... assuming that ``guyinblack'' is defined by the
following entry in /etc/httpd.group:

guyinblack: cancer deepthroat mrx skinner

SEE ALSO

na_httpd.passwd(5), na_httpd.group(5).

BUGS

As noted, only the directives listed above are supported; other directives that may appear in NCSA or Apache access files are ignored.


Table of Contents