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

This is Interesting: Free IT Magazines  
Home > Archive > Squid > May 2004 > [Fwd: RE: [squid-users] How to prevent to download files]





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Fwd: RE: [squid-users] How to prevent to download files]
Xavier Baez

2004-05-01, 4:36 pm

Will this work for a Squid process that runs as an http accelerator with
proxy on?

I want to limit the bandwidth rate of the users that browse my site,
when they download files such as .zip, .exe...

Has anybody accomplished this?

Regards

--------------------
S. A. Tech Department



-------- Original Message --------
Subject: RE: [squid-users] How to prevent to download files
Date: Fri, 30 Apr 2004 18:37:18 +0300
From: Tolga YAMAN <tolga.yaman@endel.com.tr>
Reply-To: <tolga.yaman@endel.com.tr>
To: Remus <rmocius@auste.elnet.lt>, <squid-users@squid-cache.org>



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








--


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com