I'm trying to restrict access to a directory based on the http referrer. Is there a way to do this with .htaccess. Couldn't find anything clear in the docs. Just how to restrict by IP or domain. My need is to make sure that a set of graphics is only requested by referral from my domain. I've got a LOT of copyright infringement and bandwidth theft going on. Is there a way to do this, or does anyone have a better idea.
I've thought about making the graphics only accessible via PHP script, but it would be simpler to do it at the webserver level.