Everyone is right... but... I think the OP has to better describe the need at 
hand.

-----Original Message-----
From: David kerber [mailto:dcker...@verizon.net] 
Sent: Tuesday, March 09, 2010 8:35 AM
To: Tomcat Users List
Subject: Re: Secured photo rendering

Caldarale, Charles R wrote:
>> From: André Warnier [mailto:a...@ice-sa.com]
>> Subject: Re: Secured photo rendering
>>
>> But it should not, if the server sends the image with the appropriate
>> "no caching" and/or "expires" HTTP headers.
> 
> The headers don't matter, since the client has the image in hand.  Browsers, 
> for example, allow a right-click to save the image, regardless of the caching 
> state.

I've seen javascript used to prevent right-clicking to save the image, 
but nothing can prevent them from taking a screen shot.


> 
>> Now how one would set such headers easily in Tomcat for static
>> documents, that I don't know.
> 
> Filters - but it won't help.
> 
>  - Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to