Posts in August 2010

Protecting Files Against Hotlinking with PHP, Lighttpd, Apache & X-Sendfile

I recently had to lock down some important files that first required some level of authentication. The problem was the only way to guard against hotlinking or direct access to these files was to pipe the data through php after an Auth check. Using fread,... [+]