[eluser]Dennis Rasmussen[/eluser]
[quote author="WanWizard" date="1286979993"]Blocking hot linking via .htaccess depends on the referrer link in the request.
Which can easily be forged, unless you only accept requests from a specific referrer, with some kind of session key that you can verify, but then it's beyond the capabilities of mod_rewrite.[/quote]
I used the wrong word when I wrote hotlinking.
I actually meant direct access instead of hotlinking.
.htaccess can be used to deny access to a folder, and then for this particular topic the OP could use a controller, library or any other form of code to reach and print the files/images.