I am creating a website in which I need to show some resources like PDFs,videos online. The condition is that they should not be downloadable to user.
For the PDF part, I have created SWFs of them using PDF2SWF and showing them to user. However, I am confused about videos.
I saw the this link and this link for some solutions. However one suggests to use <canvas>
to mask the <video>
. That looked good but when it came to creating JS controls to create custom buttons and sliders, that sounded too much complicated.
Another solution in first link about the temporary tokens was good and I am looking forward to use it. But I am a bit confused about it. My environment is PHP, MySQL. The point I am not clear about is, when the Server will validate the URL with the method given here, in my case it is supposed to send a link to actual video file in order to play the video in browser, isn't it? So it kind of defeats the purpose of tokens in the end.
How can I exactly implement this? Any help will be very much appreciated, thank you :)