2.3.123 Require
Require defines access control.
Description
Require defines access control by specifying with the following directives: AuthName, AuthType , and AuthUserFile (or AuthGroupFile).
Syntax
Require {user user_name [user_name ...] |group group_name [group_name ...]|valid-user|file-owner|file-group}
Specifiable values
- user
-
Among the users that are registered in the password file specified for the AuthUserFile directive, only specified users are allowed access.
- group
-
Among the users that belong to the groups registered in the group file specified for the AuthGroupFile directive, only users that belongs to the specified groups are allowed access.
- valid-user
-
All users that are registered in the password file specified for the AuthUserFile directive are allowed access.
- file-owner
-
Among the users that are registered in the password file specified for the AuthUserFile directive, only users who are owners for the files to be accessed are allowed access.
- file-group
-
Among the users that belong to the groups registered in the group file specified for the AuthGroupFile directive, only users who belong the owner groups for the files to be accessed are allowed access.
Locations where it can be written
<Directory> and .htaccess
Overwrite permission
AuthConfig level