views:

50

answers:

0

I want to allow hotlinking only from a list of referrers (paying customers, probably a few hundred).

I am on Apache 1.3 and I do not have access to the configuration (only .htaccess).

What is the fastest way to implement this?

My thoughts so far:

  • PHP with database and readfile()

  • (SSI with) Perl and database

  • the list implemented as symlinks named after the allower referrer, then RewriteCond using HTTP_REFERER

  • everything in .htaccess, lots of RewriteCond's

  • everything in .htaccess, lots of SetEnvIf's

Any better (faster) ways to do this? Thanks!