tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <christopher.d.schu...@comcast.net>
Subject Re: Image Viewing
Date Fri, 12 Dec 2003 16:37:58 GMT
All,

> It would be <img src="http://yourserver/yourservlet?param=paramValue"
> alt="something">

This still doesn't answer the "original" interpreted question. I don't 
think it's possible to display an image on a page and prevent users from 
browsing to it directly from their browser.

The only thing I can think of is to check the REFERER header to see if 
it came from the page on which you want to display it. That's also not 
foolproof...

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message