Like This ?

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 10

acl sitesLoc dstdomain "/etc/squid/sitesLocaux"
acl sitesNat dstdomain "/etc/squid/sitesNationaux"

acl UsersSitesLoc proxy_auth  "/etc/squid/UsersSitesLocaux"
acl UsersSitesNat proxy_auth  "/etc/squid/UsersSitesNationaux"

http_access allow UsersSitesLoc sitesLoc
http_access allow UsersSitesNat sitesNat

That's Correct ?

Adam Aube a �crit :

> > How to make with authentification NCSA so that certain users
> > have certain rights and others not ?
>
> Use the proxy_auth and/or proxy_auth_regex acl types. REQUIRED is just
> a special wildcard for proxy_auth; one or more specific usercodes can
> be specified instead.
>
> This will work with any form of authentication, not just basic with
> ncsa_auth.
>
> Adam

Reply via email to