How to secure and protect video link from direct downloads...
I am try to make something like this link
Code:
server1.site.com/videos/123/456/789.mp4?key=0457043013fbd9ebae8ae3
Where is
key= I can add user session ID, or something else, and in that way protect direct download without the proper key...
Code:
server1.site.com/videos/123/456/789.mp4
But do I make this work with .htaccess? I am on apache web server and I don't know other way to make this!
edit: good example is here this is stream link from vimeo and can be downloaded
Code:
pdl.vimeocdn.com/42891/829/162390948.mp4?aktimeoffset=0&aksessionid=3b9dcceb7a14b3436e0a7bfa0b40126b&token=1369110913_9c3017a9a1bbb77b1ca36c7b7c1eb7
but this you cant download
Code:
pdl.vimeocdn.com/42891/829/162390948.mp4
Also KVS script and pornhub use same techniques to protect videos i think..