tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme Kidd <>
Subject Prevent Hot Linking
Date Sun, 19 Apr 2009 03:15:15 GMT

Is there a way to configure tomcat to prevent some one from downloading a file I host when
they are not within my domain?
For example I have a file hosted here:
That is listed on a page here:
They will have no problem downloading it, but if the link to the file.xml was listed elsewhere
They would be denied access. 
I know I can do this using .htaccess on Apache but I don't know if this is possible using

Any ideas on how this can be achieved will be greatly appreciated.
View your Twitter and Flickr updates from one place – Learn more!
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message