I know using referrer is a bad idea but I need a quick fix to lockdown content inside a folder on a tomcat application this is just the temp fix until we can get a long term one in place.
I would like to use the referrer header to block off site linking to one directory. I need to do this directly in Tomcat if possible.
Thanks for any help.