Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    protecting videos

    I am building a site for this women who is selling access to video content. I was wondering what are some relatively simple ways to complicate the source code so that creative users can't simply download the videos to their computer. The only idea that I have that is fully developed is to store the videos (.flv) in a mysql table and to retrieve them with a php script. This script would verify their session data before fetching the video. Is this idea practical? I am not so familiar on the limitations of mysql.

    Thanks in advance for any ideas or suggestions?

  • #2
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    Can you clarify "protecting" them? Typically people are looking for ways to protect them from being downloaded. Are you talking about protecting people from viewing the files if they don't have an account, or from sharing account information?

  • #3
    New Coder
    Join Date
    Mar 2005
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry if i was unclear. i am looking for a way to make it difficult for users to download the .flv file to their computer. i don't want them to be able to open up the source code find the link to the .flv file and snatch it.

  • #4
    Regular Coder
    Join Date
    Apr 2006
    Posts
    231
    Thanks
    9
    Thanked 1 Time in 1 Post
    hmmmmmmmmmm. good question.

    I think it would be pretty hard to protect it, because you have to output an html source code to play it in the flv player.

    But, if oyu have the coding skills to make a php file that will take a code, and then convert it to a name, you are good to go.

    Say we have videoplayer.swf/videoid=12345. If you were to take this number, and say divide by x, (a number noone except you would know), then it would come up with an id.

  • #5
    Super Moderator JohnDubya's Avatar
    Join Date
    Nov 2006
    Location
    Missouri
    Posts
    634
    Thanks
    12
    Thanked 18 Times in 18 Posts
    Quote Originally Posted by Erindesign View Post
    hmmmmmmmmmm. good question.

    I think it would be pretty hard to protect it, because you have to output an html source code to play it in the flv player.

    But, if oyu have the coding skills to make a php file that will take a code, and then convert it to a name, you are good to go.

    Say we have videoplayer.swf/videoid=12345. If you were to take this number, and say divide by x, (a number noone except you would know), then it would come up with an id.
    That is about the only idea I thought up as well. Or I wonder if there's some way you could point the Flash video source to a PHP page, and give the PHP page the unique ID of the video in the database, which would then pull the video's file name (which would be invisible to the user). I found a post on flashkit.com on this same topic, but there were no replies. Here's one post I did find though: http://www.phpbuilder.com/board/arch...-10275423.html

    Good luck! Let us know what you find out!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •