Please i beg you... i will do anything

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Please i beg you... i will do anything

Post by Christopher »

aliasxneo wrote:Yes but what prevents that person from downloading the streamed video and uploading it somewhere else? His original intent was to remove the URL to the video so that other people could not view it when all the person (who has access) needs to do is download the content as a video, upload it somewhere else, and you get the same effect with a tad bit more work.
I covered all of that already in my initial response (see the 2nd post). It appears that the OP concerns both technical and non-technical issues.
(#10850)
aliasxneo
Forum Contributor
Posts: 136
Joined: Thu Aug 31, 2006 12:01 am

Re: Please i beg you... i will do anything

Post by aliasxneo »

arborint wrote:
aliasxneo wrote:Yes but what prevents that person from downloading the streamed video and uploading it somewhere else? His original intent was to remove the URL to the video so that other people could not view it when all the person (who has access) needs to do is download the content as a video, upload it somewhere else, and you get the same effect with a tad bit more work.
I covered all of that already in my initial response (see the 2nd post). It appears that the OP concerns both technical and non-technical issues.
I never challenged any of your points :p I was just giving my own input.
edanlee
Forum Newbie
Posts: 15
Joined: Mon Mar 24, 2008 12:05 am

Re: Please i beg you... i will do anything

Post by edanlee »

yes thats my dilema... i can easily have the video check to see if the user is logged in but doing that does not fix the problem... the logged in user can still view the source and grab the url and share it with everyone... i need to find a way that when the file is requested, a php script will check to see if someone is logged in and then deliver the file... so its not even the url that has me its the actuall file its self... and i'm at a complete stand still because i cant find anything on this... i think this will take a very experienced programer to figure out and well i dont know any.... any who... thanks for the help and the non help i recieved in your forums... the best of luck to everyone...

Brian smith
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Please i beg you... i will do anything

Post by Chris Corbyn »

edanlee wrote:yes thats my dilema... i can easily have the video check to see if the user is logged in but doing that does not fix the problem... the logged in user can still view the source and grab the url and share it with everyone...
If you implement it the way arborint intended then sharing the URL wouldn't not work. The video would not be served up unless the user is logged in.

Very roughly...

Code: Select all

if (empty($_SESSION['logged_in'])) {
  echo "Permission Denied";
} else {
  header("Content-Type: video/mpeg");
  readfile("/path/to/your/video.mpeg");
}
The point aliasxneo is making however is that the "logged in" user has free and open access to that video. So they can copy the video itself and host it on another server. Sharing the URL would not work however.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Please i beg you... i will do anything

Post by Christopher »

Exactly, if you want to protect files so there is no open access to them, then the solution I posted will work. If you want to protect the contents of those files, then you will need some DRM solution. As I mentioned this above -- it would probably entail providing or specifying a player which would be the only way to play the movies.
(#10850)
edanlee
Forum Newbie
Posts: 15
Joined: Mon Mar 24, 2008 12:05 am

Re: Please i beg you... i will do anything

Post by edanlee »

Thank you... i see what you mean... yes if they can grab the movie from the open directory then they would be able to download it. i see your point now... i'm sorry for doubting you.. it will be running through a flv player that seems to have good credintials.. the only thing is i didnt know how to read the file.. thank you for your help in the header and read area... your 5 secs of time has saved me weeks of headache.. again thank you to every one that likes to give a second of there time to one in need...

cheeers,
brian smith
Post Reply