Protecting SWF files.

Hi,
     Can i know whether there is any way to protect swf files from being decompiling. I have seen that some tools are available for decompiling the swf files. Can anybody help me by providing a tutorial for the same or any ideas.
Thank and Regards,
         Sreelash

Yes, as mantissao states, the best you can do for a SWF is to run it through an Obfuscator.
Google: Actionscrip Obfuscation and you will find some products to do this.
What it does is change the Actionscript in the SWF to make it "unreadable" by decompilers.  In practice, what happens is this: Decompilers update constantly to work around any problems arising from new obfuscation techniques, and then new obfuscation techniques are created to stop the new decompilers.  In the end, a decompiled SWF that was obfuscated becomes difficult to parse through, as all variable names are random strings of text, but not impossible.
Otherwise, the only method you can use is a streaming server (Adobe FMS, Red5, Wowza, etc) and offload all important Actionscript to the server.  This would be reliable in protecting that Actionscript, but may not be worth the time and effort of setting it up.  Plus, this is overkill if the only goal is to protect some "proprietary" code.

Similar Messages

  • Protecting swf files from being decompiled

    At the end of the day, our flex apps are deployed as swf
    files which have the potential to be decomplied and thereby our
    intellectual properties lost. There are tools in the market which
    claim to secure the swf files from being decompiled. Are these
    tools live up to their claims? Is it worthwhile to spend money on
    these tools? Would the protected swf become harder to deployed? Any
    good products already available in this line? Please point out
    some. Thx.

    Most of the tools I have seen are geared towards extracting
    resources from swf's. I use one myself (eltima.com) for
    "harvesting" manufacturers content for my motorcycle dealers. They
    are authorized to use this content, but finding someone at Yamaha
    of Kawasaki or any of the majors who even knows where to find these
    resources is next to impossible. I have also used it to learn from
    by viewing scripts, but as you say, at the end of the day, I think
    the concepts and best practices are about the only thing worth
    taking away from others efforts, not the code.
    Unlocking a protected file can be done as well and I remember
    using a product over a year ago to get at the scripts within an swf
    (I wanted the URL's that pointed to media - it was legal for me to
    do this). It ran from the command line and output the scripts.
    There aren't too many of these types of programs to be found, but
    they exist.
    My personal opinion is that it's not worth the effort. My
    java classes can be decompiled and if someone wants to go to that
    trouble, more power to them. To my knowledge, there isn't anything
    out there yet that is perfect for backwards engineering an swf into
    an MXML file, but a competitor of FLASH Decompiler says that they
    can decompile Adobe 9 PLAYER swf's. For what it's worth, I plan on
    posting the majority of my code on my flexdev.org site once I get
    it established.
    For people who make components for sale, this could be an
    issue of stolen revenue if the decompilers get sophisticated enough
    to reverse engineer the swc into a usable MXML file. I would be
    against anyone who stole code for this purpose, for sure.

  • Password protecting swf file

    I'm creating a html page with price guides which are in flash
    swf files. I have the web pages password protected but anyone that
    is somewhat computer savy can get around that by finding the price
    guide swf files. Is there a way to password protect them from
    opening the swf files?

    You can zip it with a password (encrypt it). Unfortunately that option, even though it comes as
    standard equipment, is available only from the command line (terminal.app).
    http://opensoul.org/2007/4/9/creating-encrypted-zip-archives-with-os-x
    You may create an encrypted sparse image on your desktop and store your files
    in it. It's portable too,
    just copy the encrypted image to a flash drive and take it with you.
    http://support.apple.com/kb/HT1578
    There is "Meo" (a free file encryption utility):
    http://www.nchsoftware.com/encrypt/index.html
    There is openssl (comes with OS X), a command line tool (terminal):
    http://osxdaily.com/2007/05/02/quickly-encrypt-a-file-with-openssl/
    True Crypt (one of the most powerful solutions out there - and its free):
    http://www.truecrypt.org/
    Cryptor (a simple easy solution):
    http://www.limiter-inc.com/cryptor.html
    Kj ♘
    There are tons more of them out there, but I recommend these, because the price is right
    and they will get the job done.

  • Prevent SWF files from being decompiled back into FLA format

    Some programs such as Sothink SWF Decompiler may be used to
    decompile the SWF files back into FLA format. Even the ActionScirpt
    inside the SWF files can be decompiled as well! No one can even
    tell the difference between the original FLA file and the compiled
    FLA file! What can we do to prevent this from happening? I heard
    that we may protect the SWF files by using ActionScript Obfuscator.
    Is it true? How to do that? Please help, I must do something on
    it.

    Ng Jackie wrote:
    > Some programs such as Sothink SWF Decompiler may be used
    to decompile the SWF
    > files back into FLA format. Even the ActionScirpt inside
    the SWF file can be
    > decompiled as well! No one can even tell the difference
    between the original
    > FLA file and the compiled FLA file! How can we do to
    prevent this from
    > happening? I heard that we may protect SWF files by
    using ActionScript
    > Obfuscator. Is it true? How to do that?
    It's not true. SWF can't be protected.
    There are companies trying to sale products claiming they can
    protect SWF
    file, don't fall for that.
    In order to protect the file they jam the code and name of
    variables and functions.
    This however does not go w/o consequence. There is only how
    much you can mess the
    file up before the player will be unable to run it. Very
    risky games if you do that.
    One of the tools that was doing that, produced files which
    stop working with next
    player upgrade. From version 7 to 8. Than you just can't open
    it anymore.
    Secondly, as soon as such tool appear, the producers of
    decompilers provide antidotes.
    Upgrades with work around for the protection.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Protecting EXE, PDF and SWF files from piracy

    I am hoping others in the community have some experience with protecting their Captivate output (EXE and SWF files) from piracy.  We will be selling our eLearning products developed with Captivate through our online store and want to protect them against file sharing and other forms of piracy.  I have found several companies online offering DRM (digital rights management) and SAS (software activation services) that require users to enter a license key to use the products.  I am looking for any recommendations from users who have implemented these types of services.  What provider did you use and what issues did you encounter.  Any insights would be greatly appreciated!
    Thanks,
    Jason

    Most of the tools I have seen are geared towards extracting
    resources from swf's. I use one myself (eltima.com) for
    "harvesting" manufacturers content for my motorcycle dealers. They
    are authorized to use this content, but finding someone at Yamaha
    of Kawasaki or any of the majors who even knows where to find these
    resources is next to impossible. I have also used it to learn from
    by viewing scripts, but as you say, at the end of the day, I think
    the concepts and best practices are about the only thing worth
    taking away from others efforts, not the code.
    Unlocking a protected file can be done as well and I remember
    using a product over a year ago to get at the scripts within an swf
    (I wanted the URL's that pointed to media - it was legal for me to
    do this). It ran from the command line and output the scripts.
    There aren't too many of these types of programs to be found, but
    they exist.
    My personal opinion is that it's not worth the effort. My
    java classes can be decompiled and if someone wants to go to that
    trouble, more power to them. To my knowledge, there isn't anything
    out there yet that is perfect for backwards engineering an swf into
    an MXML file, but a competitor of FLASH Decompiler says that they
    can decompile Adobe 9 PLAYER swf's. For what it's worth, I plan on
    posting the majority of my code on my flexdev.org site once I get
    it established.
    For people who make components for sale, this could be an
    issue of stolen revenue if the decompilers get sophisticated enough
    to reverse engineer the swc into a usable MXML file. I would be
    against anyone who stole code for this purpose, for sure.

  • How Can I protect my swf files from decompiling / saving

    I have navigated through the internet for a long time now but
    could not find the solution to my problem which is "how to protect
    my swf file from decompiling/saving"?
    I know that it CAN BE DONE and here is an example of a file
    on the internet that cannot be saved or decompiled using any
    software that I have come across (ie:SOTHINK decompiler, saveflash)
    http://www.3dinternet.com/video.swf
    Any help? any hints ?
    Thanks
    Hagop

    Hagop,
    > I have navigated through the internet for a long time
    now but
    > could not find the solution to my problem which is "how
    to
    > protect my swf file from decompiling/saving"?
    There is no way to protect your SWF from decompiling. Any
    commercial
    software on the market can be decompiled -- including the
    Flash authoring
    tool and Photoshop, for example -- which is why softare
    generally ships with
    an end user license agreement (EULA) that expects you to
    agree not to
    decompile or reverse engineer your purchase.
    Most Flash content (other than RTMP requests for video, for
    example) are
    HTTP requests, which by nature means the content is
    downloaded to your hard
    drive, just like HTML documents, CSS files, JPGs, and GIFs.
    Your browser
    requests the files, downloads them to your hard drive, then
    displays them
    from your local copy.
    > I know that it CAN BE DONE and here is an example of a
    > file on the internet that cannot be saved or decompiled
    using
    > any software that I have come across
    What you've seen, then, is merely the result of software
    that uses
    unknown (to you or to your sofware) encryption/obfuscation
    algorithms. Keep
    trying, and you'll eventually nail it.
    At best, you can use obfuscators to temporarily deter a
    certain segment
    of the decompiling-inclined population.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Embed .swf file or how to hide your .swf file on the web for protection

    Hi, is it possible to hide your .swf file so that it can not be taken.  Is there a way to protect it?  if someone please post the chain of commands on how to do this.

    http://www.google.co.in/#hl=en&source=hp&q=swf+encryption+software&oq=swf+encryption&aq=2v &aqi=g2g-v8&aql=&gs_sm=e&gs_upl=848l6367l0l9310l22l20l3l2l2l0l324l3334l1.4.7.3l15&bav=on.2 ,or.r_gc.r_pw.&fp=bdf9e41683b1cd0a&biw=1024&bih=609

  • How do you protect the .swf files ?

    Do you protect your flex files from being decompiled?
    Is there any flex techiques for more security? What about HP SWFScan?
    All opinions wellcome....

    There are several different options... each with varying degrees of security, technical complexity, and cost. Entry level protection usually involves some kind of obfuscation which makes your code difficult to read / re-use - but not impossible. If this isn't enough you'll want to look into swf encryption... which raises the bar significantly. The last item worth mentioning is loading a swf from a protected source. You could also improve this last approach by loading your swf from _inside_ another swf. Here are some links to get your started.
    Amayeta SWF Encrypt 6.0
    http://www.amayeta.com/
    irrFuscator ActionScript 3 Obfuscator
    http://www.ambiera.com/irrfuscator/index.html
    Security Through Obscurity: can you hide swf files on your website?
    http://www.quilix.com/node/31
    Cheers,
    Rick Winscot
    www.quilix.com

  • Flash .exe or swf files will not play on Vista

    I decided to learn how to create captions for flash video,
    using CS3. I tested this project and it worked fine. I could just
    double-click on the app or the swf and the captioned video played
    fine on my Mac. I only had Flash (CS3) on my Mac, so I created the
    files there.
    I then published an exe to move over to my Vista machine.
    When I double-clicked on the file, it brought up Flash Media Player
    version 9, but only showed a blank white box. Very frustrating.
    After some research, I read that Windows Vista was not
    compatible with Flash Media Player 9. Only 10.02xxx or later (I
    forget the exact version - it was long) was supposed to work with
    Vista. Since CS3 uses version 9 to pack into the executable (PC) or
    app (Mac) projector files, I thought maybe this was the problem.
    So I downloaded the demo of Flash CS4, thinking this version
    would pack version 10 into the projector and this would solve my
    problem.
    While the CS3 version of my saved flash video project would
    open in Flash CS4, it would not play when I tested the movie inside
    Flash CS4. It would just show a skin at the bottom of the video
    player only (with a play/pause button), and it had moving blue bars
    on the skin like it couldn't really load either.
    I then decided to create the whole flash video with captions
    from scratch under Flash CS4. This time when I tested the movie in
    Vista, it worked fine. When I published either the projector exe or
    the html/swf combination, it worked fine. So proudly (and finally!)
    I sent the exe over to my boss. But..... you guessed it. The Flash
    Media Player 10 that started up when the file was double-clicked
    just showed a blank white screen again!
    So then I moved the exe over to another partition to test to
    see if there was some dependent directory pathway saved as part of
    the flash video file. The exe wouldn't play on the other partition!
    So I thought I was onto something. I then tried moving files that I
    thought the exe might be dependent on (although isn't the point of
    a projector to be stand alone?) to the same directory on this
    partition as the flash exe projector file.
    I ended up moving the captions.xml file, the swf files (flash
    video player skins included), and the html file that the swf file
    is supposed to be embedded in. NOTHING worked.
    I even read that someone with this problem saved his Flash
    CS4 file as a Flash CS3 file before he published it, and that
    worked for him. So I tried that too, but with no joy.
    So I am totally stumped. Does anyone out there have advice or
    even a solution?
    Much Thanks,
    Chuck

    HI
    You can use FlashJester Jugglor to create one EXE file by
    adding the FLV in
    the Additional Files section.
    Try it
    http://www.jugglor.com
    Let us know if you have any further questions.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    DISCLAIMER:
    This email message is intended only for the addressee(s) and
    contains
    information that may be confidential and/or copyrighted. If
    you are not the
    intended recipient please notify the sender by reply email
    and immediately
    delete this email. Use, disclosure or reproduction of this
    email by anyone
    other than the intended recipient(s) is strictly prohibited.
    All measures
    have been taken to ensure this email is virus free - however
    no warranty is
    made that this email or any attachments are free of viruses.
    Virus scanning
    is recommended and is the responsibility of the recipient.

  • Can't view .swf files in Dreamweaver

    I'm using CS3 versions of both Dreamweaver and Flash and when
    I import a .swf file into dreamweaver it works perfect locally but
    doesn't show at all when I've uploaded the file into my webspace.
    What am I doing wrong? I never had this problem when I used the CS2
    versions of both software and it's driving me absolutely nuts!!!
    Any advice would be most gratefully received.

    On the other hand, if it's not working in CS3, then there is
    an error
    somewhere, since I know that CS3 does it properly....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Baxter" <baxter(RemoveThe :-)@gtlakes.com> wrote in
    message
    news:fpid4r$jic$[email protected]..
    >I would just use Dreamweaver 8 to do my flash stuff.
    > I have not upgraded to CS3 so I can't give you a answer
    for that, I'm
    > waiting for the next version before upgrading,Sorry.
    > Dave
    > "CJR 2007" <[email protected]> wrote in
    message
    > news:fpddif$1is$[email protected]..
    >> Hi, thanks for the reply. Yes, I have uploaded the
    scripts in the scripts
    >> folder. I also just tried inserting the .swf file
    into a document created
    > in
    >> Dreamweaver 8 and that works fine after uploading to
    my server so
    > something's
    >> going on with CS3.
    >>
    >> What do you suggest now?
    >>
    >> Thanks.
    >> Chris.
    >>
    >>
    >
    >

  • Can't see .swf files in CS3

    i've read quite a few postings on this topic but none of the
    fixes seem to work. after upgrading to CS3 from CS2, all of my
    embeded .swf files have disappeared from the web. to be clear, i
    have the .js files and folders all on the remote site, the .swf and
    fla files are in the same file as the html page they are embeded
    in. i have tested these pages on two different servers and the
    problem persists.
    here is the page i am working on:
    http://fieldworking.com/main/index.html
    here is a page i have set up for testing:
    http://www.fieldworking.com/main/blah.html
    in both situations the problem reoccurs. if anyone has any
    further tips i would REALLY appreciate it...

    On Mon, 9 Jul 2007 11:49:45 +0000 (UTC), "staypressed"
    <[email protected]> wrote:
    > here is a page i have set up for testing:
    >
    http://www.fieldworking.com/main/blah.html
    That page has a link to a Flash file that should be at:
    http://www.fieldworking.com/home/fieldworking/mainwebsite_html/main/blah.swf
    The Flash file isn't there.
    Gary

  • I can't get a SWF file that runs perfectly in browsers to run in the Business Catalyst environment

    My website has 3 parts. The initial HTML page which upon opening plays a video. The link below gives you that. 
    http://wrysmilebooks.businesscatalyst.com (It takes a few seconds to get going) 
      When the video ends a SWF file plays. The code below should show you what is supposed to happen. 
    http://wrysmilebooks.businesscatalyst.com/SWFbutton.html 
      The difficulty is that the SWF file won't automatically play from the website within Business Catalyst. It all works perfectly when I run the webpage in different browsers through Dreamweaver. Also if I just double click the website file where it sits on my computer... the resident browser picks it up and all is well.
    I've already exchanged quite a few e-mails with Business Catalyst support and InDesign support... (The SWF file was created using InDesign) ...but we don't seem to be getting anywhere. I can't think of anywhere else to go... so... here I am.
                                                                                                      Thanks,
                                                                                                       Michael McLaughlin

    Hello Liam,
             Let me see if I'm understanding you. Are you are saying that it
    takes a few seconds for the video to get going after the initial pages
    comes up? Yes, I'm aware of that, but it's only a few seconds and then it
    runs. Or are you saying that the SWF file takes time to get going?  I've
    opened the website http://wrysmilebooks.businesscatalyst.com, let the video
    run and simply waited, but nothing happens.
             However, I've noticed something curious. When I preview the Grid w
    flip html in BC, everything runs its course as it should. When I run it
    with http://wrysmilebooks.businesscatalyst.com there's something of a
    stall. The video has to end... the code to open the swift file is onended...
    but the fade to black at the end of the video never quite happens. A faint
    image which is not the last of the video can be seen on the screen. So...
    it appears the video hasn't really ended... so the SWF file doesn't run.
              So... does BC impose some limit on the length of a video when
    it's accessed through http://wrysmilebooks.businesscatalyst.com that it
    doesn't when its run within BC?
    On Wed, Apr 8, 2015 at 12:18 AM, Liam Dilley <[email protected]>

  • Delete an swf file after download

    This is the situation: after a client load external content
    from an http server into his flash movie, a copy of the
    file for the external content (say, an SWF file) is stored
    in the "Temporary Internet Files" folder.
    To protect the external content, is it possible to
    automatically
    remove this file, after the loading is done? This should of
    course be built into the client movie. Within ActionScript,
    there seems to be no delete file function of any sort.
    Is it possible to do it by loading a javascript or ASP page?
    Any suggestions would be appreciated.

    Thanks for all your answers,
    which have really helped me
    to put things in perspective.
    Let me make the situation more
    explicit. I am going to use
    an empty movieClip as a container.
    All the Flash codes/graphics will be
    loaded dynamically into this
    container during run time from
    a server, with user authentication.
    There are two separate issues:
    (1). Whether the client would
    be able to access these external
    contents on the server, after
    cracking the container swf.
    On the server side, there
    are authentication routines,
    so that a user must be verified
    before he could load any external
    contents. I can hide all related
    scripts/functions on the server
    side (via FMS or http server), so
    that a user does not know what I
    am doing. In fact, I could copy
    to-be-loaded-contents into a scratch
    directory just before loading,
    and then the server side script
    will delete these contents
    after loading. So this
    part should be as safe as my
    authentication method, even if a
    hacker has decompiled my swf.
    (2). Whether the client
    would be able to get hold of
    the contents on his local
    machines, since these
    contents are loaded into
    the container movieClip. This
    part I am not sure. I thought
    that if the files were not saved
    on the disk as temp files and
    if my connection was secured/
    encrypted using https,
    then it would be difficult for
    a client to get hold of the
    content swf files. But you guys
    seem to be saying that a client can
    still get it somehow.

  • .swf files not displaying all of a sudden!

    Hi all
    currently working on a new website for my design company and
    have hit an unexpected - and very annoying - problem!
    my portfolio graphics are all vector illustrations - I export
    them from there as a .swf file - dump them into dreamweaver - and
    away we go. all has been going fine - my portfolio covers 4 pages -
    first two have worked fine - the final two simply will not display
    when previewed in browser - or uploaded via ftp to a site area.
    the graphics have all been created in similar ways - the
    export functions for .swf have not been altered in any way at all -
    but still not displaying. when i open up flash player to preview
    the file - again blank - when i do the same with the first two .swf
    files, no issues!!
    I have recreated the html files to see if that was the issue
    ... to no avail.
    I also dumped the swfs into the 2 html files that are working
    fine - still no luck.
    tis driving me mad - any ideas guys??? as i said - they are
    just vector logos as with the first two pages so not sure what on
    earth is happening!
    incase this helps with any ideas....
    this page as you can see works fine:
    http://www.justsoho.com.au/test_portfolio.html
    this one doesn't! :
    http://www.justsoho.com.au/test_portfolio_02.html
    hoping someone can shed some light on this!
    cheers
    Rebecca

    Upload this file to server. portfolio2.swf
    It should be in this location
    http://www.justsoho.com.au/portfolio2.swf
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "justsoho" <[email protected]> wrote in
    message
    news:ftjufb$gut$[email protected]..
    > Hi all
    >
    > currently working on a new website for my design company
    and have hit an
    > unexpected - and very annoying - problem!
    >
    > my portfolio graphics are all vector illustrations - I
    export them from
    there
    > as a .swf file - dump them into dreamweaver - and away
    we go. all has been
    > going fine - my portfolio covers 4 pages - first two
    have worked fine -
    the
    > final two simply will not display when previewed in
    browser - or uploaded
    via
    > ftp to a site area.
    >
    > the graphics have all been created in similar ways - the
    export functions
    for
    > .swf have not been altered in any way at all - but still
    not displaying.
    when i
    > open up flash player to preview the file - again blank -
    when i do the
    same
    > with the first two .swf files, no issues!!
    >
    > I have recreated the html files to see if that was the
    issue ... to no
    avail.
    >
    > I also dumped the swfs into the 2 html files that are
    working fine -
    still no
    > luck.
    >
    > tis driving me mad - any ideas guys??? as i said - they
    are just vector
    logos
    > as with the first two pages so not sure what on earth is
    happening!
    >
    > incase this helps with any ideas....
    >
    > this page as you can see works fine:
    >
    http://www.justsoho.com.au/test_portfolio.html
    >
    > this one doesn't! :
    http://www.justsoho.com.au/test_portfolio_02.html
    >
    > hoping someone can shed some light on this!
    >
    > cheers
    > Rebecca
    >

  • Playing SWF files in FLV Player

    Hi,
                   I would like to know whether swf files can play in an FLV Player or not. If not possible, is there any option for developing an independent swf player. If so, please tell me the technique that can be used to develop swf player.
    Regards,
              Sreelash.

    Thank for your reply friend. I understood what u said. Actually the requirement for the client is to stream swf file as streaming flv file. So I think, in the server side we have to use converter. I meant, if the client put the swf files in the server, the server side program calls the converter before streaming to the client side.
    The functionality what I meant is following:
    1) The client request for an swf file.
    2) In the server side, it is placed as swf files.
    3) Then, programmatically the server side code invokes the converter and convert the swf file to flv file before          streaming.
    4) This is what I meant the use of converter.
    I hope you understood what I meant. Can I have your mail id please. Because in forum not everyone reply for the doubts. Also I am the only action script programmer in my company and I have only 5 months experience. My mail id is [email protected]
    Thanks and Regards,
                  Sreelash.S.

Maybe you are looking for