Flex :: Security - Running Application/swf In Local Mode?
Oct 12, 2010
We are using flex for same. (Although I know flex is meant for web application and air application is best suited for desktop clients, but due to some build issues we can't go for air applications). Now according to our use case we required to read file from local file system which is not allowed in flex application due to sandbox policy. To override it we had planned to use it in local mode (i.e. running from local file system instead of deploying in web container). So after running application in local mode it bypasses sandbox policy and allows to read local file. Eventually we requires remote services call (either using web services or blaze ds) also in our application. To avoid sandbox restriction for network access in local mode we are planning to explicitly grant network access permission to our flex application.
View 2 Replies
Similar Posts:
Dec 20, 2011
I don't know really well the diference between AIR and FLEX, i do with Java tought, My question is that I want to build an application to run in local mode, but maybe in the future I want it to be available trought the web, The basic sequence diagram is the following: So I want the client to connect to a server for login information, and for storing some data, and I don't know wich one of the three technologies is the best..
View 2 Replies
Aug 8, 2011
I have a set of users who run my application in non debug mode. Off late they have been reporting lot of issues. But I am not able to debug as there is no log file.Is it possuible in flex 3 to do logging in a file without running in debug version. I understand trace only works if we run application in debug version.
View 1 Replies
Mar 28, 2011
I just dont get it - the swfs are in the same folder, hows that possible?
View 1 Replies
Jan 2, 2012
I'm having some trouble getting around a security restriction of flex. Saving a file is apparently an action that can only be invoked upon user interaction. The problem is that after my user clicks on the save button, I need to perform a database query to get the data for the file I want to save.
Because Flex works asynchronous, I have to make the database call and then catch the ResultEvent in a different function. In that function, I no longer have the user's mouseclick event. How am I then supposed to save this file?
[Code]...
View 1 Replies
Apr 15, 2010
I have an Image control in my Flex application:
<mx:Image id="img" source="@Embed('img.png')"
percentHeight="100" percentWidth="100" />
Because the image is scaled, there are a lot of scaling artifacts. Can I change the image to use a different type of filtering?
View 1 Replies
Nov 24, 2009
I have an air application that loads a swf ( built in flex ) , this swf loads moduls and basicaly my air application is a testing environment for this swf .
when i run it in flex environment ( eclipse ) it runs fine , when i run it from my programs ( as an air program ) it gets stuck , what i was thinking is that it has to do with security issues because it gets stuck when my main swf try to loads the moduls .
View 1 Replies
Feb 27, 2010
I'm a newbby in Adobe AIR/Flex. I have developed a simple Flex web app. that through 2 Php's, can connect to a DB and return an XML result of the query. I uploaded the PHP and Flex files to my internet server, and the app. works fine. My question is: How can I make the same app. work in Adobe AIR? In other words, I have made a new AIR project, and I copy/paste the Flex code. When I run the project, it does not work and say things like:
[Code]...
View 1 Replies
Jan 17, 2010
I have a Tree Control inside my Flex Application which I want to edit on a doubleclick on a tree item. I found the properties doubleClickEnabled= "true", doubleClick="startEditMode()", and editable="true". With these functions I can detect a double click and I can change the editable property to true based on a double click. The problem is that after I double clicked on a Item i have to click once more to really enter the edit mode. That doesn't seem to be intuitive at all..
View 3 Replies
Sep 15, 2010
Some of my Flash application components require to intercept Ctrl + F4 keyboard events. Unfortunately, the KeyboardEvent is not caught when running the app under IE since it is conflicting with the IE native shortcut (closing the active tab). Is there a way (ideally relying on Flash principles) to intercept such keystrokes?
View 2 Replies
Jul 23, 2011
I read that using Flash Builder 4.5.1 you can create one application and run it on a mobile device, in Internet browser and in Desktop AIR. However, I created a mobile application and the only option to run it is 'Run as mobile application'. Is it really possible to run the same Flex application in browser and on mobile?
View 1 Replies
Dec 4, 2011
I am working on a try-out app targeting ios and adroid mobile devices and I use flex 4.6. I want to hide the app in the list of running applications. Is it possible?
If not, is there a way to change the name and icon of the app in run-time after installation?
View 1 Replies
Apr 12, 2010
I am creating a Flex application for intranet use.I need the application to execute files, with different file types (txt, emails, etc.) at specific known locations on the clients computer.Is it possible to give permissions to the Flex application to execute local files? (I have administrative rights on the clients computer)
View 1 Replies
Oct 18, 2011
I have a quite different problem with resizing. I have a Flexbook component which uses the middle part of screen (center) with a html header menu and footer. The problem: The scaling works perfectly when we run in the local machine ( Flexbuilder). But when we deploy it to the server its like scaling never existed.. The requirement: when user maximizes the window or minimizes it, the Flexbook should be resized to fit the screen.
[Code]....
View 1 Replies
Sep 23, 2009
I've developed a Vkontakte application by using Adobe Flex technology with WCF as my server side. The whole thing works perfectly on localhost, but after uploading it to Vkontakte - the WS doesn't seem to work and I get this error[code]...
View 1 Replies
Jan 25, 2010
Is it possible to get somehow list of running applications/processes and, while running in background, check which process is active?
Additionally - if somehow, the answer was yes, is it possible to react for change of active window / application react just as if it was Event, or bind to it custom event (e.g. Event.SystemActiveAppChange)?
EDIT: Due to probable missunderstanding, I mean local applications - on your win/mac/linux machine - I would like to (in process of learning of language) track what apps I use the most, make a little graph maybe?
So, the point is: in AIR app, developed in FLEX, I would like to get/list all running applications/processes, as well as which one is active (on user's PC/Mac/Linux)
View 3 Replies
Apr 22, 2011
I'm building an AIR application which will be used to edit slideshows for another app (also built by me, but not in AIR). The slideshows and other data are defined in several xml files which are in the other application's program folder. When trying to load these into my AIR app I get the following error:
fault(mx.messaging.messages::ErrorMessage)#0
body = ""
clientId = "DirectHTTPChannel0"
[code].....
View 1 Replies
Jan 5, 2011
I'm trying to access local file system from Flex web application. I know it is pretty difficult, but I think there must be a way. Is there a way that Flex app can use AIR components or maybe web application can call some AIR module in order to choose files and upload?
View 2 Replies
Apr 19, 2011
I want to show a local html file into my application but I could't find to do that.
I used <mx:HTML> component with using its location property but it is not working when I try to do it with a local file which is in applicationdirectory.
EDIT: Here is my code :
<fx:Script>
<![CDATA[
private function init():void {
[Code].....
View 2 Replies
Jul 22, 2011
I'm writing a small application for myself and instead of using a database I'd like to just use Excel to store the small amount of data I have on my local file system. I want to be able to load that data without having to use the typical FileReference browse() method as it would just be annoying to do every time I use the application.
The code below seems to find the file fine as the file.exists method below and most of the other attributes seem to be correct but the file.data is always null.I'm guessing this is a security issue and that's why I'm running into this problem but I thought I'd ask and see if there is in fact a way around this problem.
var file:File = new File(fullPath + "\" + currentFolder + ".txt");
if(file.exists) {
var byteArray:ByteArray = file.data;
}
View 2 Replies
Aug 17, 2011
I have made a application that plays videos that are stored in a assets folder of the air application but when ever I run it on an hp slate the videos are really choppy. Is there a way to preload the video or does it have to do with the processing power? the videos are 1.72mb or smaller. They are flv format and they auto play when that application is started. I am using flash builder.
View 1 Replies
Dec 6, 2011
How can I find out what the current application type is? i.e. whether it's running on a mobile device or as a desktop Air application?[code]...
View 4 Replies
Sep 11, 2007
I guess this is more a question about PHP and MYSQL, but since Im using flash as the interface, I wanted to know if anyone knew this. Is it possible for someone to basically trigger one of my php documents that inserts variables to the Database through an swf ran outside my server? I know for example flash has a security feature built in to prevent flash from loading xml files from server to server. If anyone knows more about flash security issues and tips let me know
View 3 Replies
Aug 27, 2009
How would I go about checking this setting on a loaded SWF file? For example, I have parent swf A, loading child Swf B. Once swf B is loaded into child A, how do I check child B's local security setting property?
View 1 Replies
Apr 8, 2011
I want to distribute an SWF file to be run on computers, not the internet.However, I want to be able to access the internet through a link controlled by a button.This used to work, now I get a security warning telling me I need to change the settings on my computer.For obvious reasons I don't want to make every person who runs the swf file to have to do that!Under Windows I can create an EXE file that does not create the security warning, but on the Mac that won't help.
View 2 Replies
Mar 24, 2011
I'm developing an application for the Blackberry Playbook using Flash Burrito 4.5 and Flex. I'd like to create a file browser to allow users to load images from the local system into the application. I followed this example [URL] When I click on the Load Image button in the simulator however, the file browser pops up but tells me that "no file was found with the specified filter", even though I don't specify any filter or even if I specify a . filter.
View 2 Replies
Jun 7, 2011
I tried asking this on the Spring forums ([URL]) but did not get a response. I'm working on a web application that has an (end user) user interface built in Flex and a management user interface built using Spring MVC. I'm trying to secure both interfaces and can get each one working separately, but not together. I'm using a snapshot build of spring-flex-core 1.5.0 with Spring Security 3.1RC1 and Spring 3.1M1
[Code]...
I'm obviously missing something but while the Spring Flex documentation describes how to configure a hybrid MVC+Flex application at the servlet level it appears to only consider security from the perspective of a flex-only application.
View 1 Replies
Jul 28, 2011
I am trying to run a local version of a website on my computer for development. I have mamp installed along with the mysql database. I am able to go to http://localhost:8888/.... to get to the local copy of the website and everything works greatThe problem comes up when I try to watch a flash video. The flash video player was custom made by the development team before me and I have no experience in flash. figuring out how to get flash to run of my computer locally.I have tried changing the global settings(but maybe I did this incorrectly).
View 1 Replies
Apr 20, 2005
I found many helpful guides to work with Flash and XML. But everytime I look for ways of sending back to XML changes produced in Flash, the tutorial always assume that we are using a server. Is there a way for having a Flash projector that everytime it starts 1-checks for data to load to the projector 2- lets us do changes to data (add, change and remove xml data) 3- and in the end we can save the changes made to the XML file that was initially loaded?
View 3 Replies
Aug 28, 2006
i just want to ask if there's a way to avoid the trip to global security panel to access local .swf?
View 3 Replies