Re: [squid-users] proxy auth

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 20 Feb 2003 21:20:19 +0100

Some suggestions:

http_access allow restricted passwd
http_access deny restricted
http_access allow all_subnets

or depending on taste

http_access deny restricted !passwdo
http_access allow all_subnets

Regards
Henrik

On Thursday 20 February 2003 15.10, Paul Houselander wrote:
> Hi
>
> Im trying to achieve the following.
>
> I allow proxy access without authentication for my users, I have 1
> office that I want to deny access unless they provide a username
> and password.
>
> I have a very large amount of subnets and do not specify them in
> squid.conf so basicly have a
>
> http_access allow all
>
> The IP address I want to enforce to use an username/password is
> 192.168.0.50 so have
>
> acl restricted src 192.168.0.50/32
>
> authenticate_program /usr/bin/ncsa_auth /usr/etc/passwd
>
> acl passwd proxy_auth test_user
> http_access allow passwd
>
> Ive tried a few combinations and want to say
>
> http_access deny restricted (unless they have provided a
> username/password)
Received on Thu Feb 20 2003 - 13:18:46 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:31 MST