Re: [squid-users] how to deny mime types say text and image

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 20 Dec 2001 14:04:46 +0100

You can't as the functionality does not exists until Squid-2.5.

In Squid-2.4 you can only base access on what is part of the request, not
what makes the reply/answer.

The request has
* Client address
* URL requested
* Time of request
* Proxy login (if used)
* Request method
* MIME type of the request (POST form data, or PUT/upload file content)
* Type of browser used
* ...

The reply has
* MIME type of the downloaded object
* Size
* Server type
* ...

What this means is that in Squid-2.4 you can deny request that look like they
may result in a image, text or whatever, based on URL patterns (like file
extension). But you cannot base access controls on what is actually delivered
to the user.

Regards
Henrik

On Thursday 20 December 2001 19.30, usha wrote:
> Thanks a lot but how can I achieve this facility(rep_mime_access,
> http_reply_access directive)in squid-2.4.STABLE2 to deny mime type say
> text or image.

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Thu Dec 20 2001 - 06:04:27 MST

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