Beefing up Secirity and Encryption in Air Apps

Hello,
We are working on an AIR app currently and concerned about
security when it comes to local data and content. We have come up
with a few ideas which may help.
1. Storing Data in the local encrypted datastore
This is a great feature, unfortunately, you need to get the
information into it in a secure way. Storing usernames and
password...urls etc in plain text in the AIR file is a bad idea.
Pulling the info down from the server and firing it in is better,
but this adds reliance on a server, which developers may or may not
have access to, and still may have security issues.
Would it not be possible to have a new option/panel added to
the Air settings window that allowed developers to add a list
variables/values that they wanted set in the local encrypted
datastore upon the initial install of the application. These
variables could be encrypted in the AIR package perhaps, using a
key/encryption routine known only by Adobe and removed from
existence as soon as they were added safely to the local enc
datastore. Perhaps a function could then be added to the API that
allowed these variables to be pulled back out and decrypted. I
realize the local datastore is encrypted, but what we are talking
about is getting the data into it in a more secure way that does
not necessarily rely on a server or having to store the keys in
plain text in the air package.
2. Encrypting the descriptor file and/or SWF content.
Although the swf format is easy to decompilable, if you
encrypted it, it's a much harder go. The end user really should
have no need to ever see this info, and developers could then
potentialy use things like the Application ID or publisher ID to
help secure other aspects of their app. Also, if its encrypted,
perhaps this is were extra variables could go. Once again, the
encryption routine/method used to pull this off could be
proprietary and known only to ADOBE. If developers could safely
store there own encryption keys in the local datastore, they could
even come up with there own routines, or use other encryption
standards that already exit to protect there content.
Just to wrap up, I really think AIR is great, but I think it
could be fantastic if ADOBE worked a little magic and chipped of
the security aspects in AIR a bit. I think this is one of the only
major stumbling blocks I can see for mass adoption for serious
industrial strength apps using AIR.
Where there's a will there is a way, and perhaps there are
others out there with innovative ideas that could contribute to
beefing up AIR security.

Here are some screen shots:
Any Help?

Similar Messages

  • Is it possible to share assets between a windows and a mac AIR app build with captive runtime on one dvd-rom?

    Hi there,
    I have a question about burning two builds of an AIR desktop app with captive runtime, one for Windows and one for Mac, on a single hybrid DVD-rom that can be played on both Windows computers and Macs.
    I've tried sharing the assets (video's and pdf's mostly) between the two builds, but I can't seem to get it to work. The only way I have been able to work around this, is to have the assets in both builds, which results in the double the amount of space on the DVD-Rom.
    Is there a way to have the two builds use a single location to find the files? Or do I need to have two builds that both contain all the assets?
    Thanks in advance!
    Kinds regards,
    Maarten

    Gotcha!!
    I am done with mounting a secondary HDD (thanks to ifixit) and installing Windows 8 Pro 64 bit on it without a worry. Charm, charm!!
    Boot Camp 5 guide prescribes all needed steps and when read and used correctly, installation must be an easy task. And all the existing apple hardwares work so good in the Windows environment too.
    I am going to help out a friend of mine in doing a similar thing on his mac too. If you got specific questions, please do shoot up here and i should be able to get a reply to it (if at all).
    Thanks everyone.
    ~ Narey

  • How to get Adobe Air-apps to run *properly*? (Voddler ecpecially)

    First: I am running AMD64, and have installed the bin32-adob-air from AUR.
    The problem is, this does not work as it should. Air apps are never "installed" like they would be in Windows, or Ubuntu with the adobe-air from adobe installed. This causes problems with remembering configs and storing data between instances. Wimp, t.ex. will never remember my password, now matter how many times I check the remember password-box. And When running VOddler it just won't find the config file.
    I am trying to run Voddler in linux now, following this. But it won't work.
    I just get an "error reading config file" message when starting it using the adobe-air command (ie. the script from the package. Thinking the problem might be caused by the script running air apps from a temp dir, i aslo tried to run
    [gert@blad opt]$ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/VoddlerPlayer/META-INF/AIR/application.xml /opt/airapps/VoddlerPlayer
    after unpacking the Voddler Files there, but no luck.
    I see that there are a newer version of Voddler out now, and I will try that, but I'd appreciate any help with this spesific issue.
    Also, I would like to know if there is any way to get the "full Air experience" where you jut click-and go, and can install Air-apps the simple, proper way "everybody else" does it. Cause Air right now is a major hassle. Is there any chance of getting the Adobe-Air installer from Adoe work on Arch, or at least get a similar result? Integrated in the system, detected in the browser on  webpages etc.
    Last edited by naguz (2010-05-15 17:01:25)

    Tried again with the command taken from firefox appended to the script (instead of §1 §2 etc.) and got:
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: Ingen slik fil eller filkatalog
    Error #2032
    http://api.voddler.com/vnet/index/login-token
    Parameter: version:2
    Parameter: token:3c034c484e3ed6217ec0b4b6a6cd01c9
    Response received
    http://api.voddler.com/vnet/index/pre-movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: crid:2721821284152752803
    Parameter: version:2
    Response received
    PreMovieResult: [object Object]
    movieID: 2721821284152452737
    MOVIEREQUEST: false movieModel.resumeTime: 0
    http://api.voddler.com/vnet/index/movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: version:2
    Parameter: crid:2721821284152752803
    Parameter: resume:0
    Response received
    Adding to playlist url: 0p000001000_e000335_n0017_s0318_he3052b084510fe31419083eb165aa4bc_00000000000000000000000000000000_d59845ff23b2b6f22d3f3ee9020ab34af_t02
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 1000
    extra = "Token login result triggered"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2004
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    It errors out after the Voddler window has been "Rerwinding the tape"  for about 10 secs.
    EDIT: I moved my voddler folder to /opt/airapps so I could use your file without any edits to rule out typos.
    Now, the voddler player starts from firefox in wine. But I immediately also get the "Oops, we noticed you didn't watch the whole movie"-window pops out at the same time, and i get a similar error as above.
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2008
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    I guess voddler cancels the DRM "lease" as soon as the error box pos up, giving me this question. Seems Firefox doesn't communicate properly with the air-app. Or something else I don't get. complete output from firefox run: pastebin
    Last edited by naguz (2011-01-11 22:32:16)

  • Running previous versions of AIR apps in AIR 2.7.1 runtime

    I'm unable to start and run any AIR apps built using previous SDKs in the latest AIR 2.7.1 release. Basically either the application will not start at all or will try and launch the window and close immediately. I'm using Flex 4.5.1 IDE and even updated the AIR SDK to 2.7.1 to build my app, changed the dicriptor version tag to 2.7 in the app.xml file as well but to no avail, Am I missing something or did Adobe drop the ball here!?

    I'm running older apps with both 2.7.1 and the AIR 3 rc build.  It sounds like you're running into something specific to your system.  Do you have an example .air file (or project) you can send me ([email protected]) so I could take a look?
    Thanks,
    Chris

  • Why? Air App won't appear in Builder

    Hi,
    I am experiencing something odd, and it must be something I
    am doing wrong.
    When I'm using Flex Builder (latest version/updates etc) and
    execute an Air app during development sometimes it won't appear,
    even though there are no compilation errors. Even if I close Flex
    Builder, and re-open, running the buid doesn't display. Its a very
    simple app example app so there is nothing which should cause it to
    fail. Is there a process that I need to kill because it thinks its
    already running? I don't see any processes like that...?
    What's going on?
    Many thanks for your help.

    1) When hovering over the run or debug buttons at the top of
    Flex Builder to start the app, make sure the tooltip displays the
    name of your application rather than some other project's name. It
    normally defaults to running the 'default application' (or the last
    one executed, or currently 'active', I forget); you could be
    running the wrong project/application by accident.
    2) Not sure if this would prevent a new instance from
    running, but check your task manager processes for something
    like... adl.exe (I think?) and kill any you see. You can find the
    actual name by starting the app and from the Task Manager
    "applications" tab, right-click select "Go to process" on your
    application's entry there. It'll bring you to the process running
    that window so you can see the name.
    I've probably had this happen a few times but I can't recall
    what else may have caused it atm.

  • The air app cannot detect the new added camera

    i made a desktop air-app. the problem is when i unpluged my usb camera and start the air app . the app detect the existed cameras with Camera.names.length = 2; and then i pluged another usb camera and use the Camera.names.length to detect the new camera, but the result is still 2 , not the 2 existed camera with the new added one which the total is 3. then i close the air-app and start it again ,this time the camera.names.length is 3. why ? the air-app just cannot detect the new added camera? the only way the air-app can detect the new added camera is restart the app?

    Air ow flash player for that matter won't detect camera added at runtime. It will detect if you remove the camera while you were capturing images from the camera. You can try to scan for camera suing a timer and see if it detects it then.
    There is also a not so documented flash.media.scanHardware() method, which should force a hardware scan. I did not used it yet so can't vouch for it.

  • IOS 8 beta - Air apps not starting on iOS8

    Hi there, I had some old apps released using AIR sdk 3.4 back in Sep 2012, and because they were working fine, I never updated with newer AIR sdks.
    Today I installed iOS 8 beta on my ipad mini and tried out my apps and all the Air apps are not starting at all, just blank black screen.
    On the console this is the message:
    Jun 30 21:41:14 KHUNDAGAs-iPad com.apple.xpc.launchd[1] (UIKitApplication:net.asuult.radio969[0xaac8][414]) <Notice>: Service exited due to signal: Killed: 9
    Jun 30 21:41:14 KHUNDAGAs-iPad SpringBoard[43] <Warning>: Application 'UIKitApplication:net.asuult.radio969[0xaac8]' quit via signal.
    I wonder, is it because my Air sdk used is older, 3.4, or are there any other issues about iOS 8 that I am not aware of?

    Hi,
    Yes, there have been significant differences since we released AIR SDK 3.4, we recommend try building your app with latest AIR SDK (14.0.0.110) and see if that solves the problem.
    -Thanks
    Pahup

  • My app store won't work on my iPod Touch 4gen running on ios 6.1.5 and when I open app store it says "cannot connect to iTunes Store" i shut my ipod down and turned it back on but it still dosn't work but it will open on my Mac Book Air

    My app store won't work on my iPod Touch 4gen running on ios 6.1.5 and when I open app store it says "cannot connect to iTunes Store" i shut my ipod down and turned it back on but it still dosn't work but it will open on my Mac Book Air. If sombody could tell me how to fix this that would be awesome!

    Can't connect to the iTunes Store

  • Is there a way to open the settings app from an air app on both iOS and android?

    Since you can't change the notifications settings within the app, is there a way to simply open the settings app from an air app? like a link or something like that?

    Even on iOS this has only recently been added by Apple for iOS 8 only using the line:
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
    So you would have to wrap this in an ANE and then again, only for iOS and only call it in iOS 8+

  • What is the best and easiest way to upload a big file from an AIR app to a server?

    hello everyone
    i am a self-teach-as-i-go kind on person, and this is my first encounter with uploading to a server, websites and all
    i have written an AIR app in which the user chooses pictures from his/her computer and fills out numerous forms. at the end i want to upload all this data to my server
    currently, all the data folder gets compressed to a single zip file (using noChump zip library). i did this for simplicity reasons (uploading only a single file) - the size is the same. this files can get up to 200mb in size
    as a server, i have one domain I have bought and currently only a small space (1G - basic). I control it using Parallels® Plesk panel (default from the company i bought the domain and space from)
    I have no knowledge other then as3 (thanks, OReilly!), so i thought of something that doesn't require server side scripting.
    after messing around a bit i found the code at this question: http://stackoverflow.com/questions/2285645/flex-crossdomain-xml-file-and-ftp
    (thank you Joshua). please look at that code, basically, it uploads through a socket
    I fixed it up a bit and was able to upload a 64mb zip file to my httpdocs folder in my domain. this included hard coding my username and password
    looking at my site managing panel i see the file created and expanding in size, end at the end i even dowloaded the zip and decompressed it - all well.
    my questions are:
    the upload continued even when i exit my air app! how does this work?
    i cant get progress events to fire (this relates to question 1).
    this domain also holds my web page. is httpdocs the correct folder to put in user data? how do i give each user their own username and password?
    is this the right way to go anyway? remember file sizes could reach 200mb and also, secure transferring is not a must
    hope you guys can make sense in the mess
    cheers
    Saar

    Google search.
    iTunes does not sync with non-Apple devices.

  • Unable to connect with Kuler Air app and Extension

    Hi,
    I am unable to connect Adobe Kuler Desktop(Air app). I can't login through the app. Only thing I can see when I launch the app is the RGB rotating, even after an hour.
    I tried reinstalling the app two three time. No way. same issue persits.
    I tried to connect through a proxy server enable and through a direct connection. same issue.
    Not only the Kuler Desktop, but the plugin also has the same problem.
    Please help.

    Hello, I was getting the same RGB loading... issue, however I was able to Sign In at the bottom with my Adobe ID, and then themes started loading when I selected from the dropdown (e.g., Most Popular). It's a little slow, but seems to be working.

  • XCode 5.1 updated and now I can't debug AIR apps on iOS Simulator anymore

    Today XCode updated itself to version 5.1, with new iOS 7.1 platform support. It updated itself without asking permission, and now I can't run my AIR apps on the iOS simulator anymore. All my apps fail with the following error:
    'Launching [myApplication]' has encountered a problem.
    Error occurred while installing the application:
    dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
      Referenced from: /Applications/AIR_SDKS/AIRSDK_4.0.0.1628/lib/aot/bin/isb/isb
      Reason: image not found
    /var/folders/g1/014r026919j9fkv085ypt31r0000gn/T/cmd7720052456329253213.tmp: line 1:  2126 Trace/BPT trap: 5       "/Applications/AIR_SDKS/AIRSDK_4.0.0.1628/lib/aot/bin/isb/isb" "-install" "-apppath" "/var/folders/g1/014r026919j9fkv085ypt31r0000gn/T/eb03981d-5689-4bb5-821c-78ca84086393/Pa yload/[myApplication].app" "-sdkpath" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/ SDKs/iPhoneSimulator7.1.sdk"
    I use AIR SDK 4.0.1628 (the latest version according to the SDK download page today), and it doesn't make a difference if I choose another simulator version (7.0 and 6.1 fail the same way).
    I'm developing in Flash Builder 4.7, on OS X 10.9.2
    Any ideas of how to fix this? Will using the AIR 13 beta help?
    Thanks, Frank

    Thanks for the steer Jason that worked,
    So that would be Apache Flex 4.12 using Flex installer 2.7 will bring the same benefits of AIR SDK for Flex 13...... I basically have to use an installer from a third party to make the commercial product I pay for work to solve the precise problem its sold as solving.
    It's like buying a *******' drill you have to put together yourself.
    I'm gonna get this build finished, then sneak into Flash Builders room while it's having a sleep after a big dinner and smother it with a pillow. It's the kindest thing to do. Ha!
    @DavidDragon,
    Follow these steps:
    http://flex.apache.org/doc-getstarted.html
    However just make sure you use the latest version [4.12.0]

  • How to divide and load parts of Large Adobe AIR app for Android

    Hi!
    I want to create an app for Android but it will quite large. It will be larger than the 50MB offered by Google Play Store. This means that I need to find a way and break the app and load parts of it when I need them. Imagine it like minigames inside a bigger app.
    It is not clear to me how to achieve this since every time on AIR, I can export and APK file for a mini-game let's say. Can I later download APKs and integrate them into my main app? How would this be possible? Another question that I have is: In order for a SWF to play on my app, it needs to be built by AIR for Android?
    The best case would be to download content from In-App purchases and integrate in my app.
    But these things are not so clear.
    Thanks in advance for your help and support.

    I don't know how your application is structured, but if you can split sections off into separate SWFs(plain AS3 document) then you could host those section SWFs online and require the user to download them on first run.
    You could use the FileReference object to download the SWFs, save them to the File.applicationStorageDirectory, and then display/load them up with the Loader object when needed from the app storage directory. You would possibly need to check to see if the files are present at every boot of the app though as a user could "Clear Data" or "Clear Cache" of the app in the Settings of their device and one or both of those could/would delete the downloaded files.
    FileReference - Adobe ActionScript® 3 (AS3 ) API Reference

  • How to get errors and/or air.trace() from installed air app?

    I'm trying to debug an installed air app that behaves
    differently once installed than when run with adl. However, i can't
    figure out any way to get errors or air.trace() information. I am
    on OS X (10.5.6). Any tips?
    I imagine this should be easy since debugging an installed
    app is pretty much a necessity for development.

    You can enable logging to a text file using settings in the
    mm.cfg file. See
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19323
    Note that ALL trace output will go to the log.
    Other things you can do are:
    1. Run the installed app with adl -- just pass the installed
    app descriptor to adl on the command line
    2. Supply a publisher id to adl. This removes one difference
    between installed/ not installed apps and may be enough if the
    behavior issue has to do with local connections or other matters
    involving the publisher id.
    3. Use the adl -nodebug flag. This removes another difference
    between installed/uninstalled apps. You won't see uncaught
    exceptions, but trace statements are still reported.

  • Does it matter that my AIR app was created in OSX 10.5.8 and revised in OSX 10.6.8?

    Hello,
    I don't know if this is the correct forum for this post, but here it goes.
    I created my AIR app on my desktop running OSX 10.5.8. I'm able to publish and install the app just fine. I'm also installing the same AIR app on my laptop running OSX 10.6.8. The install works great.
    It's when I make changes to the .fla file, I transferd to my laptop, and go thru the AIR 2.6 setting to publish the app and install it; I get the "Sorrry, an error has occurred. ...this installer has been mis-configured...
    Should the differnt OS's make a differance?
    Both macs run CS5.5
    Thanks
    Rick

    That should work, could you post the contents of your installer log so we can see what the actual error is?
    Mac Installer Log
    Thanks,
    Chris

Maybe you are looking for

  • Index in LOOP and BRANCH in Business Connector

    Hello, i use the SAP Business Conector 4.7 and want to map a structure from incoming XML-File to BAPI_PO_CREATE1. I loop over /ORDER[0]/ORDER/ORDER_ITEM_LIST/ORDER_ITEM/ACCOUNTING_INFO/COST_CATEGORY_ID and  BRANCH over /ORDER[0]/ORDER/ORDER_ITEM_LIST

  • How to call BOMUIPrimaryPage using configurator extension

    Hi I am new to the configurator. I am working on the following requirement. From the Standard guided sales ui ( OA.jsp?page=/oracle/apps/cz/runtime/oa/webui/pages/CZMainPage) we have to call the (OA.jsp?page=/oracle/apps/cz/runtime/oa/webui/pages/BOM

  • Getting remote address in applet

    hi guys, how to get client ip in an applet.i tried lot with each n every possible combination but it always gives u Localhost/127.0.0.1. first i tried with this line of code... clientIP=InetAddress.getLocalHost().getHostAddress(); then i tried with t

  • BT Broadband, Xbox Live, Destiny Problems

    Hello everyone, I have just had BT Broadband installed on Monday (22/09) and everyday since I am regularly disconnected from Destiny on Xbox One. I did not have this problem before with my old broadband provider (EE) and I can't seem to find anyone t

  • Slow stream on macbook

    macbook hesitates while streaming any video over wireless