mod_authn_anon.xml revision 4e10c61d7f924071cad435df940a8f325015b2d3
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd<!-- $LastChangedRevision$ -->
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz Licensed to the Apache Software Foundation (ASF) under one or more
08cb74ca432a8c24e39f17dedce527e6a47b8001jerenkrantz contributor license agreements. See the NOTICE file distributed with
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd this work for additional information regarding copyright ownership.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd The ASF licenses this file to You under the Apache License, Version 2.0
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd (the "License"); you may not use this file except in compliance with
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd the License. You may obtain a copy of the License at
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd Unless required by applicable law or agreed to in writing, software
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd distributed under the License is distributed on an "AS IS" BASIS,
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd See the License for the specific language governing permissions and
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd limitations under the License.
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz<description>Allows "anonymous" user access to authenticated
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz areas</description>
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz<compatibility>Available in Apache 2.1 and later</compatibility>
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz <p>This module provides authentication front-ends such as
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz <module>mod_auth_basic</module> to authenticate users similar
3604deb3632beeca54cfdb3864d872715971c300slive to anonymous-ftp sites, <em>i.e.</em> have a 'magic' user id
3604deb3632beeca54cfdb3864d872715971c300slive 'anonymous' and the email address as a password. These email
3604deb3632beeca54cfdb3864d872715971c300slive addresses can be logged.</p>
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz <p>Combined with other (database) access control methods, this
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz allows for effective user tracking and customization according
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz to a user profile while still keeping the site open for
92988aaf68a67c9fa417556cb944eba6bb82ef92rbowen 'unregistered' users. One advantage of using Auth-based user
92988aaf68a67c9fa417556cb944eba6bb82ef92rbowen tracking is that, unlike magic-cookies and funny URL
92988aaf68a67c9fa417556cb944eba6bb82ef92rbowen pre/postfixes, it is completely browser independent and it
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz allows users to share URLs.</p>
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz <p>When using <module>mod_auth_basic</module>, this module is invoked
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz via the <directive module="mod_auth_basic">AuthBasicProvider</directive>
f07998c217193b829f55c5ca8f4313ad5ba28f84nd <p>The example below is combined with "normal" htpasswd-file based
f07998c217193b829f55c5ca8f4313ad5ba28f84nd authentication and allows users in additionally as 'guests' with the
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz following properties:</p>
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd <li>It insists that the user enters a userID.
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd <li>It insists that the user enters a password.
3604deb3632beeca54cfdb3864d872715971c300slive <li>The password entered must be a valid email address, <em>i.e.</em>
a5bff87eecd8413fcbee33eae01db42945b76becrbowen contain at least one '@' and a '.'.
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd <li>The userID must be one of <code>anonymous guest www test
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd welcome</code> and comparison is <strong>not</strong> case
3604deb3632beeca54cfdb3864d872715971c300slive <li>And the Email addresses entered in the passwd field are
3604deb3632beeca54cfdb3864d872715971c300slive logged to the error log file.
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd AuthName "Use 'anonymous' & Email address for guest entry"<br />
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd AuthType Basic<br />
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd AuthBasicProvider file anon<br />
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz Anonymous_NoUserID off<br />
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz Anonymous_MustGiveEmail on<br />
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz Anonymous_VerifyEmail on<br />
3604deb3632beeca54cfdb3864d872715971c300slive Anonymous_LogEmail on<br />
3604deb3632beeca54cfdb3864d872715971c300slive Anonymous anonymous guest www test welcome<br />
3604deb3632beeca54cfdb3864d872715971c300slive Require all granted<br />
3604deb3632beeca54cfdb3864d872715971c300slive Require valid-user<br />
3604deb3632beeca54cfdb3864d872715971c300slive </Directory>
3604deb3632beeca54cfdb3864d872715971c300slive<directivesynopsis>
3604deb3632beeca54cfdb3864d872715971c300slive<description>Specifies userIDs that are allowed access without
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantzpassword verification</description>
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz<syntax>Anonymous <var>user</var> [<var>user</var>] ...</syntax>
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz<contextlist><context>directory</context><context>.htaccess</context>
f43ed9051a7f4db461d67ed4f7ece175b3dbca7cjerenkrantz</contextlist>