module from each group.</p>
<ul>
- <li>Authentication type (see the
+ <li>Authentication type (see the
<directive module="core">AuthType</directive> directive)
<ul>
<li><module>mod_auth_basic</module></li>
<li><module>mod_authnz_ldap</module></li>
</ul>
</li>
- <li>Authorization (see the
+ <li>Authorization (see the
<directive module="core">Require</directive> directive)
<ul>
<li><module>mod_authnz_ldap</module></li>
came with Apache. This will be located in the <code>bin</code> directory
of wherever you installed Apache. If you have installed Apache from
a third-party package, it may be in your execution path.</p>
-
+
<p>To create the file, type:</p>
<example>
will be granted admission. Satisfy can take as an argument one of two options - <code>all</code>
or <code>any</code>. By default, it is assumed that the value is <code>all</code>. This means that if several
criteria are specified, then all of them must be met in order for someone to get in.
-However, if set to <code>any</code>, then several criteria may be specified, but if
+However, if set to <code>any</code>, then several criteria may be specified, but if
the user satisfies any of these, then they will be granted entrance.</p>
-<p>An example of this is using access control to assure that, although a resource
+<p>An example of this is using access control to assure that, although a resource
is password protected from outside your network, all hosts inside the network
will be given unauthenticated access to the resource. This would be accomplished
by using the Satisfy directive, as shown below.</p>
<example>
-<Directory /usr/local/apache/htdocs/sekrit>
- AuthType Basic
- AuthName intranet
- AuthUserFile /www/passwd/users
- AuthGroupFile /www/passwd/groups
- Require group customers
- Order allow,deny
- Allow from internal.com
- Satisfy any
+<Directory /usr/local/apache/htdocs/sekrit><br />
+ AuthType Basic<br />
+ AuthName intranet<br />
+ AuthUserFile /www/passwd/users<br />
+ AuthGroupFile /www/passwd/groups<br />
+ Require group customers<br />
+ Order allow,deny<br />
+ Allow from internal.com<br />
+ Satisfy any<br />
</Directory>
</example>
contain some more information about how this all works.
<module>mod_authn_alias</module> can also help in simplifying certain
authentication configurations.</p>
-
+
<p>The various ciphers supported by Apache for authentication data are
explained in <a href="../misc/password_encryptions.html">Password
Encryptions</a>.</p>
-
+
<p>And you may want to look at the <a href="access.html">Access
Control</a> howto, which discusses a number of related topics.</p>