PathCheck Stage
Chapter
3
Predefined SAFs and the Request Handling Process
71
require-auth
Applicable in
PathCheck
-class directives.
The
require-auth
function allows access to resources only if the user or group is
authorized. Before this function is called, an authorization function (such as
basic-auth
) must be called in an
AuthTrans
directive.
If a user was authorized in an
AuthTrans
directive, and the
auth-user
parameter
is provided, then the user’s name must match the
auth-user
wildcard value. Also,
if the
auth-group
parameter is provided, the authorized user must belong to an
authorized group which must match the
auth-user
wildcard value.
Parameters
Examples
See Also
basic-auth, basic-ncsa
path
(optional) is a wildcard local file system path on which this
function should operate. If no path is provided, the function
applies to all paths.
auth-type
is the type of HTTP authorization used and must match the
auth-type from the previous authorization function in AuthTrans.
Currently,
basic
is the only authorization type defined.
realm
is a string sent to the browser indicating the secure area (or realm)
for which a user name and password are requested.
auth-user
(optional) specifies a wildcard list of users who are allowed access.
If this parameter is not provided, then any user authorized by the
authorization function is allowed access.
auth-group
(optional) specifies a wildcard list of groups that are allowed
access.
bucket
optional, common to all
obj.conf
functions
PathCheck fn=require-auth auth-type=basic realm="Marketing Plans"
auth-group=mktg auth-user=(jdoe|johnd|janed)
Summary of Contents for ENTERPRISE SERVER 6.0
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 134: ...CGI to NSAPI Conversion 134 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 306: ...cinfo 306 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 312: ...Sample MIME Types File 312 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 324: ...Buffered Streams 324 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 332: ...332 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 340: ...340 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 346: ...346 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 352: ...352 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...