On 16:20 15 Feb 2002, Rahul Torvi <[EMAIL PROTECTED]> wrote:
| But
| acl blockIP src 10.2.2.149
| http_access deny blockIP
| 
| with deny deny access to browsing...to that specific ipaddress ...

Yes, that's what I said. It was only an example.

| and i m
| using dhcp and controling the users on the basis of usernames.....
| 
| and i couldnt get
| http_access deny name-of-.exe-URL-ACL
| 
| i want to restrict all users from one group to download *.exe or *.mp3....
| files..

Look, have a look at /etc/squid/squid.conf and look for the line

        # ACCESS CONTROLS

Beneath it is doco on the HUGE number of ACLs you may define. You want some
like these:

        acl EXEs url_regex -i \.exe$
        acl MP3s url_regex -i \.mp3$

and one for your group of users:

        acl the_group proxy_auth user1 user2 user 3 ...

and then http_access lines like:

        http_access allow !the_group
        http_access deny EXEs
        http_access deny MP3

which superficially looks like it should do the job.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Perhaps this morning there were only three Euclidean solids, but god changed
its mind retroactively at lunchtime, remaking the whole history of the
universe.  That's the way it is with omnipotent beings.
        - [EMAIL PROTECTED] (Mikel Evins)



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to