mod_hotlink is some software I wrote ages ago to deal with the problem of how to politely* prevent one site from linking to images on another, without using tons of CPU (as does mod_rewrite solutions)
From the README:
Protects non-text content against “hotlinking” - a method for stealing
bandwidth by linking images and content from other websites to [...]

