I want to stop people directly downloading a video from my site.
However, I want it still to be playable from within the HTML5 video player.
I thought I could do this with .htaccess to ensure the referer was from my site, so I did this:
Why isnt this working?
However, I want it still to be playable from within the HTML5 video player.
I thought I could do this with .htaccess to ensure the referer was from my site, so I did this:
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^https://www\.mysite\.com [NC]
RewriteRule \.(m4v)$ - [F,NC,L]
Why isnt this working?