View Full Version : protect swf file
how can i protect my swf from theft. I know that i can not stop the user from downloading the swf but what options are there for me to protect my actionscript and library images? I am using flash cs4. thanks
02-10-2009, 09:20 AM
Nothing will prevent a smart person from taking it. Just like any file on the net, its there for the taking and can be broken apart and dissected. That being said you can stop people who just want to copy but aren't very smart in a few ways.
In Flash under Publish Settings there is an option to password project your SWF.
If you are using images, try to load them from external sources ON YOUR SERVER, which allows you to then turn off hotlinking and make it harder to get the images.
Your actionscript is pretty much a lost cause. If its not that groundbreaking (aka, if your code is based on something like a tutorial or is a common effect that many tutorials cover) then there is no reason to worry. If you have a lot of unique custom code that nobody else has, then someone can grab it and read it no matter how you do it. I guess you could try to obfuscate it, but I've never bothered for AS.
Do you really fear theft? In many ways its unlikely, mostly because a SWF is already hard to crack without proper knowledge, and anyone stealing it probably also has enough skill to write AS.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.