Re: [squid-users] How to do disable client caching ( Internet Expoloer ) in Reverse proxy mode ?

2007-05-04 Thread Michael Alger
On Fri, May 04, 2007 at 07:12:34PM +0900, Seonkyu Park wrote:
 I'm using squid for reverse proxy for 'flv' progressive download.
  
 As you know, 'flv' is flash live video files. ( youtube... etc )
  
 I  want client's pc has not flv files.
  
 But automatically 'flv' file saves in Internet Explorer (
 C:\Documents and Settings\Owner\Local Settings\Temp )
  
 How to do disable client caching with squid ? 

Why do you want to? If it's to stop people from being able to copy
the files, you'll fail. Otherwise...

 ( ie: meta tag swap ..  Can do this squid ?
 META http-equiv=Expires content=-1 
 META http-equiv=Pragma content=no-cache 
 META http-equiv=Cache-Control content=No-Cache 
 )

Squid can only remove headers, to the best of my knowledge. To add
them, you need to do it on the origin server. You say you're using
squid as a reverse proxy, so you'll need to configure your web
server to set the appropriate HTTP headers when serving .flv files;
you can't use HTML meta tags, they need to be real HTTP headers.
(I'm guessing .flv files don't have anywhere to put such things, but
it seems like a fairly safe guess.)

Even with this done, it's posible MSIE will still save the files as
part of how it operates internally. I'm not certain about that,
though.


RE: [squid-users] How to do disable client caching ( Internet Expoloer ) in Reverse proxy mode ?

2007-05-04 Thread Stephen
I would try operating the origin website on SSL, (or try running Squid
as an HTTP - HTTPS bridge - but probably too complicated). I believe
that if content is delivered by SSL, it is not cached by the browser in
a way that is readable...

Just my 2c worth...
Stephen 

-Original Message-
From: Michael Alger [mailto:[EMAIL PROTECTED] 
Sent: 04 May 2007 12:44
To: squid-users@squid-cache.org
Subject: Re: [squid-users] How to do disable client caching ( Internet
Expoloer ) in Reverse proxy mode ?

On Fri, May 04, 2007 at 07:12:34PM +0900, Seonkyu Park wrote:
 I'm using squid for reverse proxy for 'flv' progressive download.
  
 As you know, 'flv' is flash live video files. ( youtube... etc )
  
 I  want client's pc has not flv files.
  
 But automatically 'flv' file saves in Internet Explorer ( C:\Documents

 and Settings\Owner\Local Settings\Temp )
  
 How to do disable client caching with squid ? 

Why do you want to? If it's to stop people from being able to copy the
files, you'll fail. Otherwise...

 ( ie: meta tag swap ..  Can do this squid ?
 META http-equiv=Expires content=-1 META http-equiv=Pragma 
 content=no-cache META http-equiv=Cache-Control 
 content=No-Cache
 )

Squid can only remove headers, to the best of my knowledge. To add them,
you need to do it on the origin server. You say you're using squid as a
reverse proxy, so you'll need to configure your web server to set the
appropriate HTTP headers when serving .flv files; you can't use HTML
meta tags, they need to be real HTTP headers.
(I'm guessing .flv files don't have anywhere to put such things, but it
seems like a fairly safe guess.)

Even with this done, it's posible MSIE will still save the files as part
of how it operates internally. I'm not certain about that, though.


**
Think Before You Print

==
The HENLEY College
--
This message and any files transmitted with it is intended for the
addressee only and may contain information that is confidential
and/or legally privileged.

Unauthorised use is strictly prohibited and may be unlawful. If you
are not the addressee, you should not read, copy, disclose or
otherwise use this message, including any picture or graphic and any
attachment, except for the purpose of delivery to the addressee. We
make every effort to keep our network free from viruses. However, you
do need to verify this e-mail and any attachments to it to be virus
free as we can take no responsibility for any computer virus which
might be transferred by way of this e-mail.

Re: [squid-users] How to do disable client caching ( Internet Expoloer ) in Reverse proxy mode ?

2007-05-04 Thread Kinkie

On 5/4/07, Stephen [EMAIL PROTECTED] wrote:

I would try operating the origin website on SSL, (or try running Squid
as an HTTP - HTTPS bridge - but probably too complicated). I believe
that if content is delivered by SSL, it is not cached by the browser in
a way that is readable...


It is stored in a readable way. The question is is it stored? Many
browser by default operate under the assumption that SSL-encrypted
traffic is sensitive, and thus should not be stored unencrypted
anywhere. This is however not an universal principle, AND the user can
usually override it.

As a side-note, please keep your answer BELOW the quoted text. Doing
otherwise makes the conversation harder to follow and is generally
considered poor netiquette.

--
   /kinkie