PDA

View Full Version : How could I protect my movies with external resource?


omid020
01-27-2008, 05:30 PM
Hi all
I`d like to protect my website movies with password protection field .
Most tutorials in Web describe it with internal actionscripting or some external resources like external TXT files . :(
But I need protect my movies with password that is stored in Mysql database .
Newly I`ve found AMFPHP and I think it could do my desire but unfortunately I`m not advanced with it ?
Do you know any similar resource to protect movies with values that are stored in DB ? Specially with AMFPHP ? :p

sneakyimp
02-22-2008, 11:05 PM
Perhaps you could be more clear about what you mean by 'protecting your movies' ?

omid020
02-23-2008, 07:49 AM
Mmmm, it`s clear ! I want to only my website user access to flash movies . As you know there are some tricks to find file resource on the server with scanning , so users can scan website and find swf files resource and browse it with simple url (www.yoursite.com/folder/example.swf) . So they don`t need login into website with their username and password to see flash movies .
But if flash movies request their related username or password , it`s clear that a registered user is watching movies .

sneakyimp
02-27-2008, 07:08 AM
Once a user has accessed your site and downloaded a flash movie, they have a copy of your flash movie locally. Even though you might specify that it is not to be cached, this does not prevent someone from caching it.

It *is* possible to prevent someone from simply downloading your flash movie without logging in, but you would have to place the file in some directory outside your web root and you'd have to deliver it to the user using PHP or ASP. the PHP/ASP script would check to see if the user is logged in and only output the file if they were.

But I'm still not sure exactly what you want. You'll have to be more specific.