Hello
I've got a video sharing web site and want to secure video links not to be available for direct download.
Site uses HTML5 <video> tag when available and flash plugin when it's not. We do referrer check, but various download extensions are sending same headers as website itself does. One thing I've noticed is, that when asked for a file from HTML5 and flash, nginx is returning HTTP 206 partial content, and from downloaders there is 200.
Can I somehow deny them?
Changed in default.conf
error_page 200 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
now nginx is throwing error
nginx: [emerg] value "200" must be between 300 and 599 in /etc/nginx/conf.d/default.conf:26
What can I do?
Thanks ahead.
I've got a video sharing web site and want to secure video links not to be available for direct download.
Site uses HTML5 <video> tag when available and flash plugin when it's not. We do referrer check, but various download extensions are sending same headers as website itself does. One thing I've noticed is, that when asked for a file from HTML5 and flash, nginx is returning HTTP 206 partial content, and from downloaders there is 200.
Can I somehow deny them?
Changed in default.conf
error_page 200 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
now nginx is throwing error
nginx: [emerg] value "200" must be between 300 and 599 in /etc/nginx/conf.d/default.conf:26
What can I do?
Thanks ahead.