httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Horne <J.Ho...@plymouth.ac.uk>
Subject Multiple authentication test?
Date Fri, 07 Jun 2002 14:12:50 GMT
Hello,

Using apache 2.0.36 I am trying to allow access to specific pages based on
the user conforming to one of two authentication tests:

    Satisfy any
    Order deny,allow
    Deny from all
    Allow from 141.163.66.136 141.163.60.
    AuthType Basic
    AuthName "Big Brother"
    AuthUserFile /home/bb/bb-access
    require valid-user

The first test is simply IP based - i.e. are they in a specific IP address
range. The second test currently prompts the user for a username/password,
and this all works fine. However I would like to combine the second test
with the fact that the user must be from a specific IP address as well (but
that address is different from the 66.136 and 60 subnet addresses). Can I do
something like:

    Allow from 141.163.66.136 141.163.60.
    AuthType Basic
    AuthName "Big Brother"
    AuthUserFile /home/bb/bb-access
    require valid-user
    Allow from 141.163.88.100

In the second test the user must provide a username/password *and* be from
IP address 88.100. Is this possible?



Thanks,

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne@plymouth.ac.uk
PGP key available from public key servers

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message