top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How to make the video non-downloadable using any script?

+1 vote
95 views
How to make the video non-downloadable using any script?
posted Aug 5, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Once displayed on a user's computer, the data is in fact transferred, no matter how much you prevent but technically its downloadable.

One way could be to make it harder to find the actual file and prevent it using .htaccess

RewriteEngine on 
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com/ [NC] 
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com.*$ [NC]
RewriteRule \.(mp4|avi)$ - [F]

This stops from going to domain.com/videos/myVid.mp4 and then saving it from there.

One other way would be to implement DRMm on your server (not simple). DRM acts by providing you a "ticket" while playing. if you save the video and try to play it later (or elsewhere) the ticket is requested again. In case the server is not allowing it (or not reachable) the video does not play.

answer Aug 6, 2014 by Pardeep Kohli
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...