Name: Anonymous 2008-09-26 0:29
I want to stop hot linking on large files but don't want to use HTTP REFERER (or any other .htaccess crap). I was thinking something like domain.com/downloader.(php|py|pl|whatever)?file.avi and that would spit out domain.com/(some empty dir)/hash of ip+date+secret+whatever/file.avi.
The link being a symlink to the file out of the docroot (say /home/bah/repository/file.avi).
And the links (and thus symlinks) expire after an hour-ish. Does this sound sane? What about best ways to implement this?
The link being a symlink to the file out of the docroot (say /home/bah/repository/file.avi).
And the links (and thus symlinks) expire after an hour-ish. Does this sound sane? What about best ways to implement this?