Basically what I'm trying to do is prevent hotlinking in a fast, but effective, way. My plan was to require certain hotlinkable files to supply a hash when accessed like...
The hash changes, so old hashes eventually stop working.The catch is, I can only use htaccess files, so I can't use RewriteMap, which would make this fairly easy.
I'd make a proxy-like php script, but that's too big of a performance hit. So I'm looking for a way to access the file with the latest hash, or just a script, and check them against an argument ("hash") in the query. Seems simple enough, but I can't find anything.
The server is Apache 1.3, and I don't have access to http.conf, unfortunately.