Log in

View Full Version : Protecting Swf file from downloading..



shas1280
08-09-2010, 12:44 PM
Hi..
how can i protect my swf files from downloading. i don't no it is possible or not. any one can help me??

thank you

Beverleyh
08-09-2010, 01:59 PM
For everyone who views your website, and a swf contained within, the swf will be downloaded into their temporary internet files on their computer. You cant really protect them without removing them from the server altogether.

djr33
08-09-2010, 06:00 PM
You can't stop them from downloading the .swf, but it is very difficult to reverse engineer the .swf and get anything from it. It is possible (using a swf decompiler), but this is more than most users will do to access your content.
The other option is to have the .swf NOT contain your information and instead load it dynamically such as streaming a video or loading external image files. This adds another layer to the complexity.

However, as with absolutely anything people see on the internet, the very fact that they see it means that it IS on their computer. There is never a complete way to block someone from saving it after they already have it on their computer. Flash, though, is a particularly hard way to deal with, but still not completely secure.

As for saving the .swf file itself, there's absolutely no way to block it... but saving the content from within a .swf can be a little more tricky....

shas1280
08-10-2010, 07:10 AM
Thank you ..

Yesterday i found a tutorial for protecting flash files with php and i try myself.
and its not work with me and i am still keep trying
here is the link http://ryanfait.com/resources/protect-flash-files-from-download/

thank you

djr33
08-10-2010, 05:11 PM
I don't think you understood what we said: it is not possible.
You may find a way to make it more difficult to download the swf, but if they can view it, then it is already on their computer. And it's never that hard to find the source and resave it anyway.

Do what you'd like, but most of the time you will make the content harder to access for your "nice" visitors and not do much to stop the "bad" visitors....