oups..

sorry i misunderstood your question..
maybe you can try this:

acl justdowloadthisfiles urlpath_regex -i "/etc/squid/justdowloadthisfiles"
acl nodowloadthisfiles urlpath_regex -i "/etc/squid/nodowloadthisfiles"
http_access deny !justdowloadthisfiles nodowloadthisfiles

i think this will work..

Regards
Tolga


-----Original Message-----
From: Tolga YAMAN [mailto:tolga.yaman@endel.com.tr]
Sent: Friday, April 30, 2004 6:37 PM
To: Remus; squid-users@squid-cache.org
Subject: RE: [squid-users] How to prevent to download files


acl nodownloadfiles urlpath_regex -i "/etc/squid/anyfilename"
http_access deny nodownloadfiles

insert this 3 lines to your "/etc/squid/anyfilename" file

---------cut------
\.pdf$
\.doc$
\.xls$
---------cut------

Regards
Tolga


-----Original Message-----
From: Remus [mailto:rmocius@auste.elnet.lt]
Sent: Friday, April 30, 2004 5:53 PM
To: squid-users@squid-cache.org
Subject: [squid-users] How to prevent to download files



Hi folks,

What kind of acl rule I have to use to prevent users to download all files,
except the .pdf, .doc, and .xls?

Thanks in advance

Remus