2.3.118 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}
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.
Locations where it can be written
<Directory> and .htaccess
Overwrite permission
AuthConfig level