RE: [squid-users] How to prevent to download files

From: Tolga YAMAN <tolga.yaman@dont-contact.us>
Date: Fri, 30 Apr 2004 18:46:55 +0300

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
Received on Fri Apr 30 2004 - 09:49:15 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:03 MDT