The problem with forcing this security in the IDE is that I want to debug my application without uploading my application to the secure production environment.
Maybe I am a third party company creating a widget for a company with some web services. I want to be able to build the application without any security restrictions and then give it to my client to install on their servers later. What you can do: If you want to check for these kinds of restrictions and develop this way, you can install a web server*** and publish to your tomcat directory. 1. Install and run tomcat*** 2. Setup your Flex Build Path: Right click your project, from the menu select Properties then choose "Flex Build Path" A. Set Output folder to c:\tomcat\webapps\ROOT\yourapp B. Set Output folder URL to http://localhost/yourapp/ If these restrictions were in place then most developers would have to go through those steps PLUS the following to get around the issue: 1. add a fake domain to the crossdomain of the server (which may be inaccessible. 2. add the fakedomain to your host file and point it to your application 127.0.0.1 fakedomain.com So if your question is why does this work this way? I think the answer is pretty straight forward, it would take a great deal of effort to develop anything using the Flex/Flash IDE. I hope this is helpful(?) ***(There are a plethora of quick drag and drop installations that include Tomcat two off the top of my head are EasyPHP (google easyphp) and also 30 minute Flex Test Drive for JavaDevelopers (Conreats.org) You basically install these or unzip them to c:\tomcat and they pretty much install themselves.) --- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > I do not know this as a certainty, but I suspect when FB installs, it > puts itself in a "trusted" sandbox/folder. The trusted sandbox allows > access to both local and network assets. > > Search the livedocs for "security sandbox" for more detail on that. > > Tracy > > > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Paul Barbieux > Sent: Wednesday, March 21, 2007 6:48 AM > To: [email protected] > Subject: [flexcoders] Re: Security error accessing url > > > > Hi; > > The discussion about the security access on a web service contains a > lot of responses and solutions. > > But I don't find any explanations about the question number 1: why we > have no access problem when we test our application in the Flex > Builder environment, and then we receive a lot of security access > problem when the application run on clients ? > > So, what is the difference between the Flash application running in > Flex Builder and this Flash running out of this environment ? > > Is that means that in Flex Builder the Flash application doesn't > access the famous crossdomain.xml ?! > > I think that this diffrence between the development and the client > environment is a great problem for Flex devloppers ! It means that if > our application runs on our computer, we have no garanty that it's ok > for clients ! >

