Can you encrypt a flash .as file?

I would like to know if there is any way to encrypt a flash
.as file to prevent code theft?
The products I've seen on the market so far seem to ony
encrypt swf files.
Thoughts?
Geetz Romo

On Sun, 27 Apr 2008 19:08:45 +0000 (UTC), "alanwallace4"
<[email protected]> wrote:
> So now my next question, If the .as file is embedded
into the .swf are
>decompilers able to generate the .as files when they
decompile the .swf?
I'd like to share my insights with you guys...
In general they can if you'll not take any actions to prevent
it. For
example this tool (
http://home.flashdig.com)
being a SWF editor, also
allows to protect any script without backward restoring.
Usual SWF
decompilers do not restore such protected script too. Of
course, it is
possible to investigate the SWF "under a microscope" :) and
find this
script manually. But it will be very dificult to do it in a
big SWF
file.
Another trick I ever saw was to use encryptor like RC4 or RC5
and
encrypt all your operators (do it somewhere outside of your
Flash
project) and then use a scheme like this:
//crypt string
cs = "qwertyasdfghjkl";
var cr = new ascrypt_RC4();
// here "blablabla1" is a result
// of encryption for "loadMovie" string
var lm = cr.decrypt('blablabla1', cs);
// here "blablabla2" is a result
// of encryption for "
http://..." string
var u = cr.decrypt('blablabla2', cs);
// here "blablabla3" is a result
// of encryption for "this" string
var t = cr.decrypt('blablabla3', cs);
t = eval(t); // getting "this" reference
// here is our encrypted action
t[lm](u); // it means "this.loadMovie(url)";
Doing that we achieve a result, when none of our meaningful
constants
(like URL's) as well as usual instructions will be ever seen
even if
SWF will be decompiled. Now let's imagin, that we're using
FLV
streaming and receive decryption key in the onMeta() data of
the FLV.
In this case decryption key will not be seen to the user,
because it
is not saved on the client computer. Of course, user can try
to stream
your FLV through a third-party client or hack the Flash
Player and get
the onMeta() structure. but you can prevent FLV streaming
without
preliminary user authorization. And don't forget to change
the locks
on your door frequently enough :)
Of course, you must have some knowledges about how AS
interpreter
works to write scripts like above. You must distinguish
variables
themself and their names. It's vital here.
HTH!

Similar Messages

  • Can you encrypt the rdlc xml file to keep someone from changing it?

    this idea goes with my post on licensing reports.  Is it possible to deploy an encrypted rdlc file and have custom SSRS pages that will decrypt it, run it, manage it, etc?  We were thinking what is the point of custom SSRS pages for licensing if the rdlc is just a plain xml file any one can see, change, copy, etc.
    thanks

    I want to encrypt RDLC file too.

  • How can I script a Flash .exe file to always stay on top of all other windows?

    Hi All,
    I'm new to action script, and I just need this one script
    > How can I script a Flash .exe file to always stay on top of
    all other windows?
    Basically what i want to do is have a flash-created
    step-by-step instructional movie, but for the movie to remain on
    top of all windows so the instructee is able to follow the
    instructions on-screen...
    It would be preferable to not have to buy another product
    just to do this... as I said, this is the only scripting I need.
    Thanks in advance
    Cheers
    Rick

    if you create your exe with mProjector you can use one of its
    new AS
    commands to do this.
    setZOrder
    http://www.screentime.com/software/mprojector/docs/mWin_setZOrder.htm
    all APIS
    http://www.screentime.com/software/mprojector/docs/index.html
    Demo
    http://www.screentime.com/software/mprojector/demo.html
    mProjector installs new classes and help into Flash, to
    enable them you
    must build your app with mProjector (its input is your swf)
    John Pattenden
    Screentime Media - Flash Tools since 1997
    http://www.screentime.com

  • What application can you use to open a file with the .acc extension?

    What application can you use to open a file with the .acc extension?

    http://www.fileinfo.com/extension/acc

  • Can you merge 2-3 mp3 files in one mp3 file?

    Can you merge 2-3 mp4 files into one mp3 file?

    you can purchase mixing programs (or down load trials and shareware although im usually a skeptic of free programs)

  • Can you tell where found these files in Adobe Press publication of Flex 4 TFS VOL.1 Labriola,...

      http://www.flexgrocer.com/categorizedProducts.xml
    http://www.flexgrocer.com/category.xml
    Site removed, well...
    can you tell where found these files in Adobe Press publication of Flex 4 TFS VOL.1 Labriola,...2010(c), is the old edition...???

      http://www.flexgrocer.com/categorizedProducts.xml
    http://www.flexgrocer.com/category.xml
    Site removed, well...
    can you tell where found these files in Adobe Press publication of Flex 4 TFS VOL.1 Labriola,...2010(c), is the old edition...???

  • Can you install adobe flash player onto a Galaxy Note Tablet

    Can you install Adobe Flash Player onto a Galaxy Note Tablet

    Please see this page for a list of all certified devices:
    Flash Player Certified Devices
    If your device is supported, this FAQ will walk you through the process of manually installing the plugin:
    How do I manually install Flash Player on my Android device?

  • Can you download adobe flash to mobile devices, and if so, which ones? Thanks!  l

    Can you download adobe flash to any kindles or ipads? I like my facebook game and I can't load it on my new kindle fire hdx. Very dissapointed. Can you download flash on ipads?? If so which ones? Thanks for the help

    iPads, which operate on Mac iOS, are specifically incompatible with Flash Player, per Apple design, going back to iOS 1 in 2006. That... will never change... according to Apple.
    Kindles and Samsung tablets operate on Android which WAS compatible with Flash Player prior to version 4.0. After that, Android dropped all support for Flash Player (June 2012).
    The reasoning for both of these decisions (as Apple stated in 2006) was that playing Flash content is extremely processor consumptive, and it kills batteries, as well as shortening battery life, in mobile devices. It just took Android a little longer to come to the decision to drop support.
    Windows phones, 7 and 8 are compatible, and 8 even has Flash Player embedded by Microsoft, like Windows 8 for desktops.
    You can find info about "Dolphin" for Android at: https://play.google.com/store/apps/details?id=mobi.mgeek.TunnyBrowser It seems to be the browser of choice to play Flash content on an Android device. Also, check the Android forums to see what their "gurus" recommend.
    For the iPad, check out SkyFire. It seems to be the preferred iOS browser for Flash content.

  • Can you open panasonic tz60 raw files in elements 12

    can you open Panasonic TZ60 raw files in elements 12

    Yes. Go to Expert Mode and from the top menu click:
    Help >> Updates
    Install camera raw 8.5

  • Email attachments: whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    Is this a particular sender, or all of your attchments?  Google winmail.dat and you will see a number of returns that can explain this, but in short, this is the way some e mail providers deal with attachments.  If all of your e mail is coming that way, you need to change a setting on your isp set up.  Perhaps stary here...
    http://www.nytimes.com/2010/11/25/technology/personaltech/25askk.html

  • Can you find adobe flash player 11.5.502.55?

    I have a power pc and 10.5.8 i find a discussion about a flash player on 11.5.502.55, but i couldn't find it.  Now the 10.102.64 now the flash player not working it goes 50% but never finish installation.  So i'm going to a older version on google to download the flash player 90280.  otherwise can you find it 11.5.502.55, all i find out was youtube and i needed a latest flash player. 

    At some point I'd posted some method for patching a Flash player so it would appear as 11.5.502... and thought to try & find it among previous discussions; and for some reason I could only go back 500 discussions. So I did not find that post.
    Given the Flash player is essentially obsolete for the outdated OS X version(s) the patch is a way to allow some sites and some content to load in a browser that otherwise may not. However because it is not improved regularly, there is content that probably won't work even if you use the patch and run a later version.
    The instructions are in a read-me richtext file in the patch folder; the Plugin update is included and you swap out the older plugin with a newer 11.5.xx included in the download file. It seems to do OK and my older Macs can use it. (Even my early Intel-based MacBook with Leopard 10.5.8 has a patch, since it hasn't a current Flash either.) See their 'read first' file to see what you need to do to get the patch to work. Save the old part in another folder so you could revert it. And test the Flash player version after the patch update. This does not use a regular installer; you re-use part of the existing Flash player
    •adobe flash 11.5 for PPC patch:
    http://scriptogr.am/nordkril/post/adobe-flash-11.5-for-powerpc
    You can use the Adobe Flash Player help site to test a version, get another (vintage) version in their older version section archive; or test a version in any Mac that can go online to see what (if any) is running in it.
    •Flash Player Help - Adobe Flash Player:
    http://helpx.adobe.com/flash-player.html
    For more regular problems with an Adobe Flash installation
    (not related to a patch issue) this also offers troubleshooting:
    http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-mac.ht ml
    Given the moving-target nature of the internet web page content, browser and OS
    technology update or change, and obsoletism of various products, you cannot
    expect these items to last; you will have to upgrade the system at some point, and
    because the hardware limits you in PowerPC (and other) a newer computer device
    is another prospect if you require an online presence and need Flash player plugins.
    You could try other web browsers, re: iCab http://www.icab.de/dl.php (runs Demo)
    Latest SeaMonkey for PPC:  http://sourceforge.net/projects/seamonkey-for-ppc/
    TenFourFox no longer sees Flash player. http://www.floodgap.com/software/tenfourfox/
    FireFox is no longer supported past an old versions in PowerPC Mac 10.4/10.5.
    Some video content uses HTML5 so you can check to see if any browsers you use
    can be adapted to more readily try to use that when available and not rely on Flash.
    •YouTube HTML5 Video player:
    http://www.youtube.com/html5
    •HTML5 Video Player Comparison
    http://html5video.org/wiki/HTML5_Video_Player_Comparison
    Hopefully you may be able to make use of these items.
    Good luck & happy computing!

  • Can you help with my wav file problems?

    I have just loaded some drum and guitar tracks a friend recorded for me on protools so I can work on them on garage band. All the tracks are there but they are too slow! It sounds like a slowed down tape. the guitar sounds too low! What happened?

    Flash Player is a browser plugin, not an executable program, and is therefore not installed under Program Files.
    If you have Shockwave Flash enabled, that means it is installed.  Perhaps you have ActiveX Filtering on?  See http://forums.adobe.com/thread/867968

  • How can you detect (from a script file) that javac found problems?

    The subject line says it all, but the background is:
    I have a script file (.bat, since am stuck on windoze for the moment) which is doing some compilation using javac.
    I would like to skip all subsequent activities in the script file after the call to javac if any file failed to compile.
    So, what can I use as a signal from javac that it found a problem?
    I initially tried detecting an exit code from javac that was non zero, but javac does not seem to emit such an exit coe when it objects to a file (it still returns with 0 as an exit code).
    The only remaining strategy that I can think of is to pipe javac's output to a file, and if there is any content in it then assume that it indicates an error and use that as a signal.
    This is suboptimal because it will give false signals for mere warnings, so if anyone has a better suggestion, please post

    You are right: it appears that javac does exit with an exit code of 1 if an error is detected in one of the files being compiled, at least on the windows jdk.
    To prove this, create an arbitrary java source file called HelloWorld.java, and create a msdos .bat file in the same directory that looks like
    @echo on
    javac  -Xlint:deprecation  HelloWorld.java
    :handleError
    @if not errorlevel 1 goto finalActions
    @echo ERROR DETECTED: compile.bat will TERMINATE PREMATURELY
    :finalActions
    @echo compile.bat now terminatedBy playing around with what you put in the source file (totally clean code, stuff that should compile but issue a warning, and garbage that should not compile) as well as with the exit code value detected by the .bat file, for instance trying
    @if not errorlevel 2 goto finalActions(see http://www.robvanderwoude.com/errorlevel.html if you need some documentation on error codes in dos bat files), I have determined the following as javac's behavior on windows:
    If code is pristine, exit code = 0.
    If code causes javac to emit a warning but is compilable, exit code = 0.
    If code cannot be compiled, exit code = 1.

  • CAN YOU USE A FLASH TEMPLATE IN IWEB?

    I have recently created my website using iWeb....albeit with much help from this forum...and am very pleased with the results.
    I would like to, however, have my site open with a Flash introduction. I have seen many affordable Flash Templates for sale on the web and am wondering it any of these would successfully work with iWeb. If so:
    1. What specs would I need to look for?
    2. Does anyone know of a site that sells iWeb compatible Flash intros?
    Thanks for all of your answers to my previous posts and hopefully this one as well.

    Sandie,
    Yes I have used Keynote as an intro and I once used it in swf format. I ended up liking the QT better.
    Here is the intro:
    http://web.mac.com/abenningfield/iWeb/CameraObscura/Camera%20Obscura%20Intro.htm l
    As an example...here is another I created in Keynote:
    http://web.mac.com/abenningfield/iWeb/ArchivalGenealogyVault/Archival%20Genealog y%20Vault%20Intro.html
    But as far as Adobe Flash goes.....I don't have the pro version (I have Basic) and I got a fully functional demo for 30days. Yeah it did cost about 400 bucks after the 30 day trial. Yikes.
    On the right side of this page is a third party flash file that I bought for a dollar. I used the free demo of Flash and put it on my site. After you format the flash file you want.....you don't need to keep Flash unless you want it (I did).
    http://web.mac.com/abenningfield/iWeb/CameraObscura/Links.html
    But Keynote is great...and yes Kirk is right....wait for the new version.
    Also here is another app that converts video to swf:
    http://www.verticalmoon.com/products/video2swf/video2swf.htm

  • Can you please provide the .csv files used in Power BI Getting Started Guide

    Hi Team,
    I am exploring the Power BI app developed by Microsoft on My Windows 8 machine
    For that I found the Getting started guide from the below link
    http://office.microsoft.com/en-in/excel-help/power-bi-getting-started-guide-HA104103589.aspx?CTT=5&origin=HA102835634
    Power Query and Power Pivot are totally new to me and I am trying to learn more on it
    While trying to execute the steps given in the starting guide I found that it requires 2 csv files (NYSE Daily 2009 and same for NASDAQ) for mashing up data agaist S&P 500 
    I tried to get from web, but unfortunately not getting the required data
    Can you please provide the test data (the 2 csv files NYSE Daily 2009 and NASDAQ daily 2009) using which I will resume my work in Power BI?
    Thanks in advance
    Rajendra
    InfoCepts( Specialists in Onshore and Offshore BI)
    Rajendra Kitukale InfoCepts(Specialists in Onsite and Offshore BI)

    Hi, all -- here are links to the CSV files.
    NYSE sample data:
    http://go.microsoft.com/fwlink/?LinkID=389692
    NASDAQ sample data:
    http://go.microsoft.com/fwlink/?LinkId=389693
    Hope that helps!
    Maggie Sparkman

Maybe you are looking for