Thanks Cameron...!

But
acl blockIP src 10.2.2.149
http_access deny blockIP

with deny deny access to browsing...to that specific ipaddress ...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..

- RT



On 15:05 15 Feb 2002, Rahul Torvi <[EMAIL PROTECTED]> wrote:
| I 'm using squid 2.4 . How do i restrict users to download files from
net.??
| Is there any why to restrict users from downloading .exe , .mp3 files
| If yes please tell me how? Or point me to some documentation...

You want an ACL and the http_access directive.
There is doco inline in the squid.conf file in the comments.

Example. This:

        acl blockIP src 10.2.2.149

is an ACL matching a client machine (the machine running the browser) with
IP
address 10.2.2.149. Then to block that machine you say:

        http_access deny blockIP

i.e. apply a "deny" to access when the "blockIP" ACL matches.

For your need you're define an ACL to match URLs for .exe etc
and then deny that with:

        http_access deny name-of-.exe-URL-ACL

Cheers,
--
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

THE LOST WORLD is based on (so loosely as to re-define "based on" as
"with the same title as") Michael Crichton's sequel novel, which
introduced us to a second island where dinosaurs were being genetically
engineered.     - Scott Renshaw on _Jurassic_Park_'s sequel



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



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

Reply via email to