Hello all,
I have a picture x.jpg on a
Tomcat webserver. I want to show the picture in my webapp. Let's say that the picture url is:
http://www.x.com/pic.jpg. I want to be able
to show the picture in my webapp, but If I enter
http://www.x.com/pic.jpg in the url of my browser, then the picture must not be visible.
So tomcat must allow the requests for
http://www.x.com/pic.jpg to come only from localhost (from my webapp).
Is that even possible?
Thanks in advance