How to prevent downloading images and video files from my website? Is it possible? What would be the best way to do this?
If you can see it, you can get it.
#Contents of .htaccess
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://localhost/myvideo/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://localhost/myvideo/.*$ [NC]
RewriteRule .(mp4|mp3|avi)$ - [F]