james_byrne Posted July 25, 2008 Share Posted July 25, 2008 I am using this open-source flv player so that i can play flv files in a web window, But my question is if you look that the code which is below it tells you the name of the flv file that that player is currently playing. I am wondering if there is a way that i can make that secure so that people can not just go and type the name of the flv file in there browser and have it download. Please let me know if you can help me. Thanks in advance for the help. FLV player code: <script type='text/javascript' src='swfobject.js'></script> <script type='text/javascript'> var s1 = new SWFObject('player.swf','player','400','300','9'); s1.addParam('allowfullscreen','true'); s1.addParam('allowscriptaccess','always'); s1.addParam('flashvars','file=superman.flv'); s1.write('preview'); </script> Link to comment https://forums.phpfreaks.com/topic/116584-flv-player-security/ Share on other sites More sharing options...
Jabop Posted July 25, 2008 Share Posted July 25, 2008 There are ways to get the file even if you mask it. After all, they're /downloading/ it when they view it. I don't think this should be of concern. Link to comment https://forums.phpfreaks.com/topic/116584-flv-player-security/#findComment-599498 Share on other sites More sharing options...
Xurion Posted July 25, 2008 Share Posted July 25, 2008 I don't think this should be of concern. Link to comment https://forums.phpfreaks.com/topic/116584-flv-player-security/#findComment-599531 Share on other sites More sharing options...
sstalder Posted July 25, 2008 Share Posted July 25, 2008 Not with PHP alone. You need to get a deticated Adobe FLV hosting account which will allow you to control permissions on your files. Link to comment https://forums.phpfreaks.com/topic/116584-flv-player-security/#findComment-599536 Share on other sites More sharing options...
james_byrne Posted July 25, 2008 Author Share Posted July 25, 2008 ok thanks for your help. I appreciate it. Link to comment https://forums.phpfreaks.com/topic/116584-flv-player-security/#findComment-599732 Share on other sites More sharing options...
MattDunbar Posted July 25, 2008 Share Posted July 25, 2008 I'll add that you'll probably want to link to an encoded version of the video, or an ID and have the flash item call PHP to check the file name that it will catch. There is no way to completely avoid video download possibilities but you can make it reasonably hard for them, or at least force the user to install an FLA extractor. Link to comment https://forums.phpfreaks.com/topic/116584-flv-player-security/#findComment-599775 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.