Re: Auth and server-side auto-login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Pascal S. Clermont <pascal@xxxxxxxxxxx> [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"

cheers,
-peter



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux