codingmasterRS Posted June 26, 2010 Share Posted June 26, 2010 Don't know if this is the right section to post, but here goes. Firstly, I am developing a video site for a specific purpose, but I need to protect videos from being downloaded. So I know at present it is hard to truly prevent people from downloading videos posted on websites, so I am looking at developing my own system like Flash Player and was wandering how to go about this best? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/205918-securing/ Share on other sites More sharing options...
Alex Posted June 26, 2010 Share Posted June 26, 2010 You can't truly secure them from being downloaded. If they can't download it then they can't view it. Quote Link to comment https://forums.phpfreaks.com/topic/205918-securing/#findComment-1077526 Share on other sites More sharing options...
Tazerenix Posted June 27, 2010 Share Posted June 27, 2010 true that. You can protect it from being downloaded directly by putting 403 restrictions on all the videos. Another way of protecting it is by storing the data in a database and then creating a tmp file which the flash player interprets. Although that would make a massive SQL database. Quote Link to comment https://forums.phpfreaks.com/topic/205918-securing/#findComment-1077785 Share on other sites More sharing options...
codingmasterRS Posted June 27, 2010 Author Share Posted June 27, 2010 @Tazerenix how do I implement the 403 or the DB one (how do I store it in a DB)? Quote Link to comment https://forums.phpfreaks.com/topic/205918-securing/#findComment-1077792 Share on other sites More sharing options...
Tazerenix Posted June 27, 2010 Share Posted June 27, 2010 in terms of 403 restrictions. if your running apache, inside the folder where the video's are stored create a .htaccess file. Inside it put <Files *> order deny, allow deny from all </Files> I think, i might be wrong but that should pop a 403 if people try and open the video directly. And as for storing in a database. I'm not sure of the exact way but i'm sure there is some way to get the binary representation of the video or something. Quote Link to comment https://forums.phpfreaks.com/topic/205918-securing/#findComment-1077836 Share on other sites More sharing options...
Mchl Posted June 27, 2010 Share Posted June 27, 2010 true that. You can protect it from being downloaded directly by putting 403 restrictions on all the videos. Or just put them outside of webserver's document root.... Quote Link to comment https://forums.phpfreaks.com/topic/205918-securing/#findComment-1077841 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.