Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2008
    Posts
    165
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •