[squid-users] Prevent downloading of special types of files

From: <reymc@dont-contact.us>
Date: Mon, 10 Feb 2003 13:12:06 +0100

Hi all,

I am using Squid2.5 stable1 and I want to prevent the downloading of some types
of applications such as activeX (oleobject is the MIME type of an activeX
object).

Here is the configuration I used:

********************************

acl trusted_sites srcdomain .microsoft.com
acl repdangerous_appli rep_mime_type -i ^application/x -oleobject$

http_reply_access allow trusted_sites repdangerous_appli

********************************

Then, when I request for URL www.microsoft.com, I get an error message "Access
denied"

Does anyone know why ?

Marie

---------------------------------------------------------------------------
This mail sent through Institut Eurecom Webmail : http://webmail.eurecom.fr
Received on Mon Feb 10 2003 - 05:12:12 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:17 MST