Re: [SQU] Access for single user

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 30 Jan 2001 01:19:48 +0100

acl all_users proxy_auth REQUIRED
acl limited_users proxy_auth test
acl allowed_urls url_regex "/squid-2.3/urlallow"
http_access allow limited_users allowed_urls
http_access deny limited_users
http_access allow all_users

or

http_access deny limited_users !allowed_urls
http_access allow all_users

--
Henrik Nordstrom
Squid hacker
"Luft, Heinz-Jürgen" wrote:
> 
> Hi,
> I am using Squid2 STABLE3 and (Suse)Linux 6.4.This is the problem: We have
> a lot of customers who use our proxy for surfing. The authorization with the
> 
> external program ncsa_auth works fine. Now, one User want to limit the URL's
> for a special user (I named this user test). If I use the user test with the
> "acl
> passwort proxy_auth test" without "acl password proxy_auth REQUIRED" then it
> 
> works fine and this user is able to see only a few special sites written in
> te file  "urlallow". Up to now i have no solution to allow surfing to
> special
> sides for User test and surfing to all sides for the other user .
> 
> Here my configuration:
> authenticate_program /squid-2.3/ncsa_auth /squid-2.3/passwd
> authenticate_children 10
> authenticate_ttl 3600
>  ...
>  ...
> acl oneside url_regex "/squid-2.3/urlallow"
> acl password proxy_auth REQUIRED
> acl passwort proxy_auth test
> http_access allow password
> http_access deny password
> http_access allow passwort oneside
> http_access deny all
> 
> bye
> 
> Jürgen
> 
> e-mail: heinz-juergen.luft@triaton.com
> 
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Jan 29 2001 - 18:19:51 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:38 MST