Re: Squid File Upload Restriction Issue

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 31 Jul 2003 10:56:53 +0200

On Thursday 31 July 2003 10.11, atit jariwala wrote:
> Hello Squid Developers and Users,
> I am using squid 2.5 Stable 2 on Redhat linux 7.x
> I gone through req_mime_type tag that allows to restrict File
> Upload through HTTP POST method and it is working fine.
> But enabling this makes squid to block file uploading for all
> upload data regardless of its media mime type such as text/rtc
> appliction/pdf etc. I want Squid to have ACL which allows for
> example uploading of ..doc file but restrict the uploading of .exe
> .zip files
> How to do it?

You can't.

The browser does not tell the type of data is being uploaded, only
that a form which may involve some kind of file upload is posted.

Regards
Henrik
Received on Thu Jul 31 2003 - 02:57:24 MDT

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