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.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.
Please i beg you... i will do anything
Moderator: General Moderators
- 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
(#10850)
Re: Please i beg you... i will do anything
I never challenged any of your points :p I was just giving my own input.arborint wrote: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.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.
Re: Please i beg you... i will do anything
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
Brian smith
- 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
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.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...
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");
}- 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
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)
Re: Please i beg you... i will do anything
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
cheeers,
brian smith