Can AIR apps in sudo/admin mode?

Will AIR for linux support running AIR apps in sudo mode?
Meaning, will it be able to modify a setting that requires the app
to run in sudo mode?
If not, will there be an api to check if the app in running
with sudo or admin privileges. This would also be great for Windows
and Mac versions.

So what if the application needs to write to a config file
that require sudo user? How do we manage that task? will the AIR
runtime prompt the user to enter a sudo password or will it throw a
file access error?
I think it would be easier for AIR to prompt the user for
sudo access so the developer would not have to worry about the sudo
access.

Similar Messages

  • Newby Question: Can AIR app have BOTH use HTML and Flex?

    I need to make a desktop app using HTML and JavaScript but I want 99% of the logic to be written in Flex.  Is that possible?
    Also, do I need to buy Flash in order to compile Flex?  Or does AIR SDK include a compiler?
    Pete

    Yes, it is possible.  For Air apps, Flex has an html control that is basically a self-contained webkit browser you can drop into your application.  You can insert html either by loading an html string, or pointing the browser to a particular location on your filesystem or on the internet.  As far as javascript, it can either be part of the site you load into the browser, or you can "cross-script" javascript in action script.  Cross-scripting may be better in certain instances, because then you can use controls written in flex to access or manipulate the html content.  To cross-script, you do something like this: var dom:Object = html.window.document, where "html" is the id of your html control.  Then, you can access javascript methods and properties through the dom object, like this: var p1:Object = dom.getElementById("p1").  See the webkit docs for available javascript methods and properties.
    No, you don't need to buy Flash.  The Flex SDK has a compiler.  You still might want to get Flex Builder (or the upcoming Flash Builder, which is the same as Flex Builder, but very different than Flash--not confusing at all...).  Or I think there are some third party IDEs for Flex, one or more of  which might be free, but I'm not sure.  I imagine it would be pretty hard for someone just learning flex and air to start building apps without Flex Builder.  Also, I think the beta of Flash Builder is still available for free, if you want to try it out.

  • Updating only when using Admin mode (since 3.6) and "ghosting" leaving images of others sites, apps, even pdfs I have opened in a browsing session that you can see when you shut FF down.

    I can update FF while in admin mode but when I switch back to my user log-in it says I still need to update and has been this way since 3.6 at least.
    FF is also leaving ghost images from other apps as it is shut down you can see, not sure if it is a memory leak or what but it is a little annoying.

    That is a legitimate Mozilla newsletter. As it says in the email:
    You're receiving this email because you subscribed to receive email newsletters and information from Mozilla. If you do not wish to receive these newsletters, please click the Unsubscribe link below.
    Unsubscribe https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/
    Modify your preferences https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/ "

  • Air App will not read local text file using openAsync/readUTFBytes on user (non-admin) mode

    I am running an Air App I did for the desktop, from the actual installed executable already deployed in the machine (Not from Flash Pro / Flex dev. environment). For some reason the app will not read a text file stored in the same application folder unless I run my app as administrator from the OS.
    When I run the app as admin, or within the development environment it works fine. Maybe this is related to some security issue? I read the adobe air documentation, and this should work...
    I am using openAsync/readUTFBytes on user as shown here:
    var continueGamesConnection:FileStream();
    var continueFile:File = new File(File.applicationDirectory.resolvePath("continueGames.txt").nativePath.toString()); 
    continueGamesConnection.addEventListener(Event.COMPLETE, openSavedGames);
    continueGamesConnection.openAsync(continueFile, FileMode.UPDATE); 
    function openSavedGames(event:Event):void
         continueGamesConnection.removeEventListener(Event.COMPLETE, openSavedGames);
         var content:URLVariables = new URLVariables();
         var loadedContent:String = new String();
         loadedContent = continueGamesConnection.readUTFBytes(continueGamesConnection.bytesAvailable);
         content.decode(loadedContent); 
         variableX = content. variableX
         //etc, etc. 
         continueGamesConnection.close();
    By the way, I have also, tried using FileMode.READ, and others, and it still gives me the same problem. Only works if ran on admin mode or from the dev. environment.
    It's very frustrating, I tried reading other posts without any luck... What solutions do people use for this kind of problem?
    I have seen that you can set the app to run as admin somehow, and I guess that could work. However, this should work just fine, since it doesn't seem to violate any of the security APIs of Air. Seems like an overkill. But even so, how do I do that?
    You help is greatly appreciated!

    Thanks kglad.com. I will try this and see if it works. Can you check my code a bit to see if it's right?
    var continueFile:File = new File(File.applicationStorageDirectory.resolvePath("savedgames/continueGames.txt").nativePath.toString());
    Does this look right to work across all desktop OS?

  • Can individual Adobe Air apps be installed without local admin permission into a user-owned folder?

    Is this a supported scenario?
    Windows 7 PC.
    Adobe Air runtime (latest; 4.0) has been installed by an administrator using a local admin account and the eulaAccepted file is present under the "All Users" profile.
    User logs in using her own account which does not have local admin rights.
    User downloads an Air app and tries to install it to C:\Users\<username> where she has full write permissions to the disk.
    What I observe when acting as the User is that the Windows UAC (security escalation to local admin rights) dialog pops up. Can anyone clearly state what the Adobe Air installer is doing that requires the UAC escalation when installing an app to a user's folder? Thanks.

    Thanks for your reply, Chris. We're working around these problems by deploying the Air runtime + the application separately using an administration tool, which is fine for now.
    I logged the question because I don't see any registry edits or privileged folder access taking place. I suspect that the UAC escalation has something to do with the "eulaAccepted" file; checking that it exists. I doubt that escalated permissions are really required for this. In the long term, it'd be good if this "use case" could be added to the test cycle of Air; perhaps the UAC dialog could be avoided, improving the flexibility of deployment options.
    Ideally the test would start with an adminstrator-installed Air package *without* the EULA being accepted. The user should be able to install apps and approve the EULA without the UAC dialog popping up at all.

  • Admin Rights for Adobe AIR apps

    Which Admin rights are needed on a system to install a .AIR file on a system? In our Enterprise scenario users do not have Admin rights on the system. And whenever user tries installing an AIR app an error is thrown for the same. I want to know what are the least (Admin) rights that we need to give to a user on a WindowsXP system so that he can install air apps?

    Hello,
    Unfortunately, there isn't a simple answer to this question because AIR isn't in complete comtrol over the full set of files and registry keys touched during an install - we rely on Windows Installer for that.  However you can find additional information about this at:
    Does Installing an AIR Application Require Admin Rights?
    What are Administrative Rights, Anyway?
    You might also want to vote for this idea: Installation of Adobe AIR apps without having administrative privileges
    Hope this helps,
    Chris

  • Server App or Server Admin suddenly can't connect

    This is Lion 10.7.3 server.
    Installed on clean imac Lion server...and everything works fine....but today i founded server.app was not reponding with GUI, I rebooted mac and....I can't log into server.app and server Admin
    Server is working, network users are available to login their acconts, I available to log to Workgroup manager...i even created new admin account who have full admin rights and full access...still not working.
    Tried:
    sudo launchctl list | grep -q com.apple.servermgrd && echo loaded || echo not loaded
    loaded
    restart daemon
    sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.servermgrd.plist
    sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.servermgrd.plist
    in /System/Library/LaunchDaemons/com.apple.servermgrd.plist
    <key>Label</key>
            <string>com.apple.servermgrd</string>
            <key>OnDemand</key>
    WHATS WRONG.....and why it's suddenly happend?I'm not restarted server or not logoff...server was running...\

    ah yes, i had the flets program last year i believe. then i switched to OCN.
    if you want to try to connect with another chat program besides iChat, we can try that. you can send me an email with an im name to [email protected] i had some problems with flets and had to call them about it, but it didnt really get resolved so i just switched when i moved to a bigger city.
    i just iChatted with a mac user in colorado today, and i just checked and i can connect to the itunes store. are you trying to connect to the japanese itunes store, or another one?

  • How can I bring other application to front, or put AIR app behind another application?

    The simple case is that I'm launching a browser URL. However,
    I'm finding that the browser does not come to the front, it's
    opened behind the AIR application. What I really want is to bring
    the browser to the front. What might work is to send the AIR
    application to the back. Can either be done?

    "there is no way to send your AIR app go to the back of the
    desktop display stack"
    Okay, I found NativeWindow.orderToBack(), and it seems to
    send the window to the back of the entire desktop display stack...
    seems to be what I want. Am I missing something?
    I intentionally leave the window in fullscreen mode, which
    means when the user exits the browser/app that is now over top of
    it, they are back to their presentation in fullscreen mode. Now if
    only AIR could open those .pps files directly without the browser,
    and it would be perfect.

  • How can I set connection to external XML file with Dreamweaver to buiild AIR app?

    Hello,
    I try to do simple AIR app in dreamweaver. It's not problem
    to use static data. But I'd like to use dynamic data from external
    XML file. I try to use Spry and evrything works fine in web browser
    but i have problem with loading external XML data into my app in
    AIR. Can I simply transform my spry based html app into AIR?
    What should I add to do this?
    Pawel

    Daniel Lichtenwald wrote:
    What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?
    Usually, we don't speak of "receive" when using FTP, since the file is transferred from server to client, so it's more of a case of "download".
    At your end, it's simple. You use an FTP client; under SL, that includes Finder and Safari, so you don't even need to get any additional software.
    At the other end, it's more complicated; the 'sender' must set up an FTP server on his machine.
    Alternatively, you can set up your own Mac as an FTP server, and have the 'sender' connect to you with an FTP client and upload the file; but, if your Mac lives behind a router, then you have more work to do with the router settings.
    That's why it's much easier to use the file sharing services mentioned above -- if they are available in both sender's and receiver's locations. (Keep in mind that some countries block access to all those mentioned -- except perhaps <www.transfer.ro>, of which I know absolutely nothing.)

  • How can I download lion from Mac app store in recovery mode on an imac?

    I bought a mid-2007 imac from a friend, who the computer was working perfectly for. When I went to start up it wouldn't start up (past the gray screen) from the regular HD no matter how many tricks I tried (resetting SMC, PRAM, etc), so I went in to recovery mode. I verified and repaired the disc more than once (even though it said it was fine), and tried to reinstall lion from the online recovery function but it said "item temporarily unavailable." I basically tried every combo of things possible before erasing the HD but nothing worked, so then I decided to erase the HD.
    SO that happened, and now I can still boot up in recovery mode and it -seems- like if I can find a way to reinstall lion (which was the last os running), I may be back in business.
    however, see the problem with "item temporarily unavailable."
    I decided to purchase it from the Mac store online on a different device and it says it will email me a link in 1-3 business days (really??! That long to save me with an EMAIL LINK???), and my thought is that maybe I can log in to my email from the safari window and download it that way. I'm just afraid that I won't be able to access the Mac app store if that is where it downloads from.
    Ultimately, I'm trying to avoid a trip to the Apple Store because this thing will be a nightmare to lug on public transportation. My questions for you are as follows:
    - how likely do you think it is that I'll be able to successfully download lion from the email link in recovery mode?
    - Do actual discs with lion exist anywhere in the wide world? If so, how can I get one?
    - would it be worth it to grab an old lion usb stick from amazon?
    - is there ANY other way to reinstall lion or install a new os on this thing without physically taking the computer anywhere?

    What a silly company , i have the same exact problem with my macbook pro and i've checked every topic that mention this problem and they didn't solve it .

  • I get 'unknown error' message when I try to sign in to Air app store (I can sign in to iTunes just fine). Anyone help

    When I try to sign in to the Air app store, I get an 'unknown error' message.  I can sign in to iTunes just fine.  Any suggestions?

    Fixed the problem by going to settings/store and logging out with apple ID.  Then logged back in with password and updates, apps, and iTunes store seem to work ok now.

  • 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]

  • HELP! - Can't update Adobe Air Apps - Application Install Error

    I have several Adobe Air Apps on my Mac OSX (10.9.4) MackBook Pro. They won't update due to the following Install Error.
    "The application cannot be installed due to a certificate problem. The certificate does not match the installed application certificate, does not support application upgrades, or is invalid. Please contact the application author."
    Following the above instructions, I've been contacting the authors of my Adobe Air Apps and they are telling me that it is not their problem. The Apps should simply update without difficulty.
    I searched the "Google" and found no fix other than uninstall and reinstall Adobe Air. Did this and the problem persists.
    If you can help me get beyond this issue and back to productivity, I'd be very appreciative.
    Thanks!
    David

    I had a similar problem when trying to install Zinio.air. I have made it all work out. What i did was remove Adobe Air 15 entirely from the Utiliites and Library/ accounts and preferences. I then downloaded Adobe Air 13 and installed and then clicked on Zinio .air and it all installed ok. I also had to temporarily change security settings from Apple approved to Anywhere. All functioning now.

  • Is it possible to install a consumer app for mass usage that would alter the ios device proxy settings? Over the air not supervised. Can an app company use an MDM server to do this if the customer consents?

    Is it possible to install a consumer app for mass usage that would alter the ios device proxy settings? Over the air not supervised. Can an app company use an MDM server to do this if the customer consents?

    HI Chris,
    Thanks for taking the time to reply.
    Could you expand on your answer, which bit is very doubtful?
    Also in your knowledge would Apple work with a company and license it if the software they were developing was desired by consumer demand?
    Thanks
    Gary

  • Can't install air app generated from Flex

    Hi, I have just installed the new Flex Builder 3 on my
    Windows Vista Home Premium. One of the first thins I did was to
    create a very simple air project (one centered button only). I
    inmediately exported it as an *.air file to my desktop to see it
    run! but it fails!!! Every time I run it, just after display
    "Getting ready to install this application" this error ocurs:
    Sorry, an error has ocurred. "The application could not be
    installed because the AIR file is damaged. Try obtaining a new AIR
    file from the application author."
    By the way, I installed the last air runtime from the net and
    installed and run perfectly well some air apps downloaded from the
    net.
    Any ideas?
    Leonardo

    Hi,
    I don't have an answer for your question but i think you can answer to my question, so i am using flex builder for my application and i need to test the creation of a folder on my desktop this can't be possible with a browser based application but it is possible with air application, but i don't know how to test an application or how to create an air application with Flex Builder, can you tell me if i have to install something other or to configure flex builder to do this?
    Thanks
    Celine

Maybe you are looking for

  • Multi monitor cursor swapping

    I've got three monitors lined up and I'm looking for a way to instantly center the cursor on a specific display to avoid dragging it everywhere. I know there's a software called Multi Monitor Mouse for Windows which is supposed to handle that pretty

  • How do I get my old purcheses back up on my pc?

    Ok, here is the deal. I upgraded my computer from Vista to Windows 7. I lost all of the music I bought from the ITunes store, and I am trying to get it back. Someone please help me. I know I should have burned them first, but I never thought I would

  • ChooseFromList on Grid not opening in Find mode

    I have added a system CFL (i.e. Business Partner) to a Grid on a custom form. The CFL does not open when the form is in Find mode, but it does open when the form is in Add or Update mode. Is this a bug? Example C# Code                 oColumn.Type =

  • Encore CS2 & CS3

    Hi. Can I safely install CS3 (out of the Collection) next to the existing CS2 without both software packages interfering? Thanks,

  • Positioning/Sorting in Selection list while Refrencing in VA01

    Hi! When using VA01 with reference, on Selection list I want to find / position cursor on all items with certain material but program positions me only on first. Is it somehow possible to go on next item with entered material or  is it possible to so