Re: [squid-users] trying to block exe files ...

From: Kashif Ali Bukhari <kbukhari@dont-contact.us>
Date: Sat, 14 May 2005 09:54:06 +0500

the bext slution is that

block urls like :
acl blockedfiles url_regex -i \.exe$ \.cab$ \.exe\?.*$ \.cab\?.*$
http_access deny blockedfiles

and also block mime type of contants
acl mime rep_mime_type -i ^application/octet-stream$ ^application/x-msdownload$
http_access deny mime

On 5/13/05, Kenn <kenn@thebytebusiness.com> wrote:

- Show quoted text -
> Greetings.
>
> I'm attempting to block .exe and .cab files, and my attempt seems to
> work part of the time but not always. I've often received the proper
> page stating that I was prohibited from downloading such files, but
> occasionally they ARE downloaded and appear as such in my logs.
>
> Here's what I've tried:
>
> acl blockedfiles url_regex -i \.exe$ \.cab$
> http_access deny blockedfiles
>
> Can anyone please tell me what I've done wrong?
>
> Thanks in advance.
>
> Kenn
>
> --
>
>

--
Syed Kashif Ali Bukhari
Network Associate Asia Net
Cell :- +92-300-4018407 , +92-300-4295604
Ph +92-42-111-111-202 Fax +92-42-5840905
MSN:- kbukhari@msn.com ; kashif.bukhari@asia.net.pk
http://asia.net.pk , http://asiatec.biz
Received on Fri May 13 2005 - 22:54:10 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT