PDA

View Full Version : Protecting SWF from being downloaded



Zomis
October 3rd, 2007, 09:21 AM
I tried to download this game http://www.thegamehomepage.com/play/square-divide/
By right clicking this link and choose "save target as" http://www.thegamehomepage.com/play/square-divide/squaredivide.swf

However, when I tried to open that .swf file I downloaded in a browser, it doesn't work?

So I guess this flash file has been protected from downloading somehow?

What is the ways to protect ActionScript 3.0 SWF files from being downloaded?

GrndMasterFlash
October 3rd, 2007, 09:25 AM
File >> Publish Settings >> Flash >> Options >> Protect from import

can stop common downloading via browser, but there are a lot of programs out there that can still nab it.

BradLee
October 3rd, 2007, 10:47 AM
Another way to protect from downloading is to make your flash app check to make sure it is running on your own server. You can try to access a PHP page using a relative URL for example. And if you can't find this page then have the program disable itself.

There are probably other ways to achieve this same thing.