httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] Auth and server-side auto-login
Date Wed, 22 Jul 2009 11:28:12 GMT
Peter Schober wrote:
> * Pascal S. Clermont <pascal@clermont.cc> [2009-07-21 21:53]:
>> I want to secure some content from unauthorized access by using :
>> "
>> AuthType Basic
>> AuthName "Authentication Required"
>> AuthUserFile /etc/secret/auth.users
>> Require valid-user
>> "
>> in one of my <virtualhost>'s
>>
>> I would like to know if there is a possible way for apache to auto-login 
>> anyone coming from the 192.168.1 network to a specific user?
>> This would be great if it required 0 client-side setup ( completely 
>> transparent ) and for the 192.168.2 network a login/pass would be asked 
>> to the user.
> 
> http://httpd.apache.org/docs/2.2/en/mod/core.html#satisfy
> 
> "For example, if you wanted to let people on your network have
> unrestricted access to a portion of your website, but require that
> people outside of your network provide a password, you could use a
> configuration similar to the following:
> 
> Require valid-user
> Order allow,deny
> Allow from 192.168.1
> Satisfy Any"
> 
I don't think that this is exactly what the OP wanted.
With the configuration above, requests from 192.168.1.* will get 
through, but unauthenticated.
What the OP seemed to want, is that these requests /would/ be 
authenticated automatically as "from user LOCAL-GUY" e.g.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message