block dowanlod browser
Added by nandogv2 over 12 years ago
How to Block the User to download my file copying the url in the browser?
example:
my source code: http://200.5.55.555:100/videos/videos.mp4
User can copy the source code and paste it in your browser so that even he can download the file.
The function $ HTTP ["referer"] preventing this from another site just to use my files on your site server consuming my broadband, but does not want it to be possible to download the browser.
I'm using lighttpd, Centos 6
I used resource
$HTTP["referer"] !~ "^($|.*mysite.*)" {
url.access-deny = ( ".mp4" )
}
NOTE: using several hosting server where the files