mod_secdownload is a lighttpd module that provide secure download of files. The file download link expire after specified amount of time. This is very usefull for file hosting and video sharing sites to prevent bandwidth stalers (hotlinking of files).
mod_auth_token is an apache module that work like mod_secdownload of lighttpd.
Token based authentication similar to mod_secdownload in LIGHTTPD. Have your script generate a token and let Apache handle the file transfer without having to pipe it through a script for security.
You can download it from
Anyone know similar module for IIS 7 ?