paperlined.org
apps > .porn
document updated 15 years ago, on Oct 27, 2008
Hotlinking is subject to an ongoing arms race. The current situation is that all well-admined websites block fuskers via .htacess, and not many end-users are taking things to the next level, so most top-level commercial websites don't see the need to implement the next level either.

However, it's not difficult to look ahead a few gambits and see what will happen as things progress.

General hotlinking
Referer checking
Referer blanking
  • Video players outside of the browser usually don't pass a referer. (e.g. if passed a playlist)
  • Most browsers have SOME way to disable sending the referer.
Referer spoofing
Require each IP to load HTML before loading JPG/MPG Set a cookie in HTML response, require it before JPG will load
  • unsure if this has been implemented yet, either in-house or COTS
Use AJAX or <iframe> to fetch and throw away HTML, then display images
  • unsure if this has been implemented yet, either in-house or COTS
Keep HTML URL static, but constantly rotate JPG/MPG URL
  • only in-house solutions so far, no COTS solutions yet?
Make the JPG/MPG URL be different for each client-IP
  • may not have been implemented yet... requires some mod_rewrite hacking, particularly if you want to hash the IP
Client-side javascript that fetches HTML via AJAX, and extracts the image URLs
  • probably hasn't been implemented yet... rotating JPG/MPG URLs are complicated enough that very few sites have implemented them

Other factors affecting each side:

Possible endgames: