Flex :: Authenticate Desktop FLEX / AIR App With Remote Server?
Apr 21, 2011
I have an Adobe AIR/FLEX app packaged as a native installer application running on the desktop. From there, I need to do the following:
a) stay in the "app:" application sandbox so I can load "file://" JPGs into my mx:HTML control
b) authenticate with my server (CAKEPHP) to get a valid CAKEPHP Session Cookie, and
c) securely GET/POST XHR requests from javascript.
Can I authenticate using something like OAUTH or Facebook Connect without losing the application sandbox? It seems if I redirect from my mx:HTML, I lose my local privileges.Can I authenticate with my server using a different sandbox (remote?) and safely pass the Session Cookie to my application sandbox? Are either of these methods safe against scripting attacks?
View 1 Replies
Similar Posts:
Nov 23, 2009
I am new to Flex (FLex Builder 3.0), and I'm creating a simple application that would basically just authenticate to the Freshbooks API (www.freshbooks.com) via HTTPS. without sending anything else.
[Code]...
How do I code it such that the username (the authentication token given by freshbooks) would be sent to the server from within Flex itself and not the browser? My expected outcome is that there would be no pop-ups from the browser and whatever the freshbooks server returned would be displayed in the text area (txtArea1).
Note: If I input the authentication token to the browser pop-up, the application is able to correctly display the output to the text area.
View 2 Replies
Mar 19, 2012
I must say that I am reaching the end of my tether with Flash Builder and Flex. Firstly, I have built this wonderful app that I want to start using but it is data driven meaning that when I built it, I created it on my localhost. The PHP scripts were generated from Flash Builder and I have edited them to make them more secure. I have all my services working 100% and I have this brilliant app, but I can only run it on localhost. I have done everything necessary and installed Zend Framework on both servers, I have configured Zend properly but I cannot work out how to change the mobile app to now read from my remote web server.To me this is useless as I want to be able to deploy this app to others to use when they are out and about. how to change it from looking at a localhost to looking to my remote web host?
View 1 Replies
Feb 1, 2011
In Flex 4 i want to load css file from remote server at runtime it's possible?
View 1 Replies
Oct 10, 2011
I am trying to upload the files to the remote server using PHP with Flex interface. If it's not localhost, it shows the security error. I have already put the crossdomain.xml in the tomcat web app root directory to allow all the domains. However, the security error is still shown when I tried to upload the file.
View 1 Replies
Apr 9, 2011
Is there any way to automatically deploy to a server after I build a flex app, and then debug using the remote url ?
This is totally possible in FlashBuilder, but I am highly hoping that it can be done in FD as well.
View 1 Replies
Feb 14, 2012
i try to load file from remote server and open the file with default application.
private function getRemoteCourr(PathFichier:String, FileName:String):void {
urlStream = new URLStream();
fileData = new ByteArray();
var urlRemoteCourr:String = new urlManager().urlCourriersPat();
[code]...
Instead of a word document with image and text.
View 2 Replies
Oct 11, 2011
I am thinking of writing a subclass of ArrayCollection, similar to ClearToolkit's that can be smart about managing my remote objects when coming back from BlazeDS.I am wondering if it is possible to get Flex to put my collection of objects in my own custom collection instead of defaulting to ArrayCollection? If not, I'll need to pull everything out of the collection it comes in in order to populate my own.
View 3 Replies
Mar 6, 2009
How can do I authenticate the client using an LDAP server?
View 6 Replies
Jan 22, 2012
I have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.
View 1 Replies
Mar 24, 2008
I'm pretty new to Flash VOD, exploring using a FMIS as a substitute for an existing vbrick systems' server. One thing that I'll need to do is authenticate users against an LDAP directory. Basically, the implementation will need to embed a Flash media player in a web page, the page also sets the server URI and stream name for the player. The player would need to ask the user for a username/password, and the server would need to make some determination about whether the user is authorized to receive the specified stream.
The advertising on Adobe's site for FMIS talks about LDAP, but on closer inspection it seems as though there's no real LDAP implementation. Instead, it seems as though there's a framework that allows for the development of an LDAP service. Is this the correct understanding? and if so, are there are any third-party plugins available commercially to handle LDAP? And if there aren't any commercial products, are there are any good resources for getting started developing one?
[Code]...
View 1 Replies
Jun 11, 2009
Can we do remote desktop sharing by using AS3?
View 2 Replies
Apr 15, 2012
I'm on planning/modeling phase to develop a remote desktop sharing solution, which must be web browser based. In other words: an user will be able to see and interact with someone's remote desktop using his web-browser.Everything the user who wants to share his desktop will need, besides his browser, is installing an add-in, which he's going to be prompted about when necessary. The add-in is required since (afaik) no browser technology allows desktop control from an app running within the browser alone. The add-in installation process must be as simple and transparent as possible to the user (similar to AdobeConnectNow, in case anyone's acquainted with it).The user can share his desktop with lots of people at the same time, but concede desktop control to only one of them at a time(makes no sense being otherwise).
Project requirements:All technology employed must be open-source license compatible.Both front ends are going to be in flash (browser)Must work on Linux, Windows XP(and later) and MacOSX.Must work at least with IE7(and later) and Firefox3.0(and later).At the very least, once the sharer's stream hits the server from where it'll be broadcast, hereon it must be broadcasted in flv (so I'm thinking whether to do the encoding at the client's machine (the one sharing the desktop) or send it in some other format to the server and encode it there).Performance and scalability are important: It must be able to handle hundreds of dozens of users(one desktop sharer, the rest viewers)We'll definitely be using red5.My doubts concern mostly implementing the desktop publisher side (add-in and streamer):
1) Are you aware of other projects that I could look into for ideas? (I'm aware of bigbluebutton.org and code.URL...)
2) Should I base myself on VNC ?
3) Bearing in mind the need to have it working cross-platform, what language should I go with? (My team is very used with java and I have some knowledge of C/C++, but anything goes really).
View 3 Replies
Jan 4, 2010
i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?
View 3 Replies
May 16, 2010
I have only worked on web apps for my whole career.I'm starting a new desktop (Adobe AIR) app project but I found myself having difficulties with:
stuck with thinking about overall UI design in the traditional page model
not sure how to handle the navigation part in the UI
not taking advantage of states
deciding what should be implemented on client vs server side, (or on both?).
View 3 Replies
Aug 17, 2010
Suppose I develop an application with the logic as a CLI program that can be compiled to various platforms. To add a GUI, I could develop native versions separately for each platform or I could use a cross-platform tool like Tcl/Tk, wxLua, or PyGTK. Some people, like Bruce Eckel and James Ward, promote Flash/Flex on Adobe AIR for this.[code]...
View 1 Replies
Jul 10, 2010
building a desktop app that can compile java, c, c++ files and display the results using the flex app
View 3 Replies
Nov 2, 2010
Can Flex be used for a desktop application whose business logic is written using Java? Everything I've read about flex uses a remoting or http protocol to communicate with the backend via a J2EE server, so I'm not sure how that would work for a desktop app (unless an embedded j2ee server was running in the app).
View 4 Replies
Jul 31, 2011
I create a Flex Desktop App by Flex builder 4. I want to log some debug info into a file , named by process id
//var pid:int = NativeApplication.nativeApplication.getPid() ??
var logFile:String = "/var/log/MyApp_"+pid+".log";
Is these any API to get pid in Flex/ActionScript3?
View 3 Replies
Apr 3, 2012
I want to create a simple desktop admin application for an IOS app that will work with a REST api I've built.Couple of years ago I would go with Flex/Air, just makes it very simple. But since I am butt-hurt with the way Adobe have handled Flash in general, I am looking to write it using some different tool.So far, Java Swing looks rubbish (UI-wise I mean). Others aren't cross platform and often too complicated.
View 1 Replies
Apr 6, 2010
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?
- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
- C#/Silverlight ?
View 5 Replies
Jun 3, 2010
I'm pretty familiar with using Adobe Flex & AS3, and compared with writing apps in JS/HTML I think it's very cool. However, since AIR is essentially a non-browser version of Flex with benefits like local storage, it seems to be competing as a cross-platform desktop application platform... and in that space it's much less mature than more established desktop technologies.
So what's the advantage of creating a desktop application using AIR compared to something like Java (or C++ using a cross-platform GUI library like wxWidgets)? Java's equally capable of communicating with the server for instance, I'm not quite sure what AIR adds when competing head-to-head in the desktop development world?
View 5 Replies
Sep 23, 2010
Has anyone got any experience will loading SWC / SWZ's at runtime within a Flex 4 / Air 2 desktop application?The very rough idea would be to have a desktop Air app, which is able to "download" additional modules (eg, a SWZ/RSL representing a form) and load these at runtime?
Imagine the App is configured using an XML file obtained over the net. When this has instruction to get a new module (SWZ/RSL), the app will download the module to its App Storage folder, and instanciate it at runtime?The Flex Manual seems to indicate this is possible, but is talking web rather than desktop http:[url]....
View 2 Replies
Jan 18, 2011
I recently got flex builder 3, and it seems to be a really cool IDE.
View 4 Replies
Sep 14, 2011
I want to save published streams on my application server, so I can use the videos to create a webcast presentation later.P.S. I may be sounded like I already have an application up and runnning, but I don't. I'm at the planning phase at the moment and trying to decide what/which technology to use.
View 2 Replies
Feb 10, 2012
i want to know if it is possible to create GUI for java desktop based application in Adobe FLEX.
or any other powerful framework to make rich GUI interfaces for Java desktop applications.
View 1 Replies
Jun 28, 2010
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
View 13 Replies
Aug 18, 2009
how this can be achieved? It needs to work on all resolutions .. is there any parent/stage object available to find out the resolution of the system?
View 3 Replies
Oct 28, 2010
I use Flex 4 wish I can let users drag/drop photos from their computer to the web app to upload them automatically.
View 2 Replies
Sep 29, 2009
Most of the desktop application development I do is in Swing, and I'm curious to hear people's thoughts on using JavaFX and/or Adobe Flex for building desktop applications. Have you had success building desktop apps with these? Or would you stick with Swing for now and use tools to help make Swing development more productive?
View 6 Replies