[flexcoders] Re: Security Sandbox Violation for module accessing localhost rest service in dev

2012-02-03 Thread greg_lafrance
I'm running within Flash Builder, to be able to set and hit breakpoints. How can I do this and not run from file:// ? Its strange that this is happening only for this one module. What could be making a difference? --- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote: Use a testing

[flexcoders] Re: Security Sandbox Violation for module accessing localhost rest service in dev

2012-02-03 Thread Greg Lafrance
I got the answer from this web post: http://stackoverflow.com/questions/1270347/unexpected-flash-security-exception-when-using-urlloader Instead of setting the contentType like this: request.contentType = multipart/form-data;boundary= + POSTUploadBuilder.boundary; Set the contentType like

Re: [flexcoders] Re: Security sandbox violation

2010-05-26 Thread Alex Harui
If you use relative paths, it might work when local, but I don’t think it will. Don’t test it with SWFLoader, it always converts relative paths to absolute which is guaranteed to be blocked when local. On 5/25/10 3:48 PM, Richard Rodseth rrods...@gmail.com wrote: Sorry :) That seems to

[flexcoders] Re: Security sandbox violation

2010-05-26 Thread valdhor
Why not just keep networking on and access the local file with a local URL? mx:HttpService url=test.xml ... --- In flexcoders@yahoogroups.com, Richard Rodseth rrods...@... wrote: Thanks. That's good to know about. It seems, though, that one has to choose between allowing local access or

Re: [flexcoders] Re: Security sandbox violation

2010-05-26 Thread Richard Rodseth
That's how I started I out and will most likely end up. But getting the error while debugging (which has since gone away) and reading the responses here indicated it shouldn't work. On Wed, May 26, 2010 at 6:06 AM, valdhor valdhorli...@embarqmail.comwrote: Why not just keep networking on and

[flexcoders] Re: Security sandbox violation

2010-05-25 Thread Amy
--- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: No, it is different. If the SWF is embedded in HTML page, it requires that you specify the trusted locations on your machine, so it could load content:

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
I'm not sure we're all talking about the same thing, but there must be zillions of SWFs accessing external XML configurations without any user intervention. I haven't tested on a web server yet, but this -use-network=false seems appropriate. On Tue, May 25, 2010 at 8:49 AM, Amy

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
I'm obviously thoroughly confused. Presumably -use-network must be true in order to run the folder from the server, because the swf will be local once it's trying to read the XML config file sitting beside the SWF on the server. I'm hoping I don't need a different SWF for the second scenario

[flexcoders] Re: Security sandbox violation

2010-05-25 Thread valdhor
What I do for debugging purposes is to set my debug folder as a trusted source in http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html To do this... Click Edit Locations-Add Location Click Browse for Folder Browse to your bin-debug folder This allows you

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
Thanks. That's good to know about. It seems, though, that one has to choose between allowing local access or network access. Can anyone tell me if it's possible to create a single SWF (plus companion wrapper html and config xml that can either be hosted on a web server, or unzipped and run

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Oleg Sivokon
OK, it's like this: SWF launched in standalone player can interact with the system AND load remote content, just like the browser can do the same thing. SWF launched in browser plugin can only access permitted folders on your hard disc. To allow access to the folder you should either use the web

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
Thanks. That sounds like a no for supporting my two use cases, unless the customer adds a trusted location or opens the SWF in the standalone player. On Tue, May 25, 2010 at 12:45 PM, Oleg Sivokon olegsivo...@gmail.comwrote: OK, it's like this: SWF launched in standalone player can interact

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Alex Harui
I got lost trying to follow this topic. Whether it is browser or standalone shouldn’t matter. What matters is the url of the SWF (file:// or http://), the trust file settings on the computer, the use-network flag, and how you access the external resources. If you build a SWF to run locally

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Richard Rodseth
Sorry :) That seems to happen a lot with my topics. Use case 1: Customer (a sales engineer) accesses a demo that is hosted on the web like any other Flex app. This demo makes no api calls, but does need to access an XML config file that lives in a data folder beside the SWF Use case 2: Sales

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Oleg Sivokon
Whether it is browser or standalone shouldn’t matter. Now I'm lost... I have ShockwaveFlash ActiveX sitting on the form and loading MP3 files from any place on my PC (well, this is the easiest way to have MP3 player in .NET :D ), it can playback MP3s just fine, I'm getting no warnings / errors,

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Oleg Sivokon
BTW, this is what the code looks like if you want to try... // // flashMovie // this.flashMovie.Dock = System.Windows.Forms.DockStyle.Fill; this.flashMovie.Enabled = true; this.flashMovie.Location = new

Re: [flexcoders] Re: Security sandbox violation

2010-05-25 Thread Alex Harui
What is the use-network setting? I don’t know the rules for audio. Remember that you can load an image from just about anywhere, but you can’t access the pixels. Poke through the security white-papers on the Adobe site. On 5/25/10 3:49 PM, olegsivo...@gmail.com olegsivo...@gmail.com wrote:

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-07-10 Thread zi or
While I try to run my Flex Profiler I got this error message: In the flash application I got the following exception: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-07-10 Thread valdhor
Caveat: This may or may not work. Go to http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html Click Edit Locations... then Add Location... Click the Browse for folder... button then select your bin-debug directory. Try again. This has worked for me in the

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-07-07 Thread zi or
While I try to run my Flex Profiler I got this error message: In the flash application I got the following exception: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 9:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread Alex Harui
/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nateross83 Sent: Thursday, April 02, 2009 8:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Glad

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nateross83 Sent: Thursday, April 02, 2009 8:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Glad that worked for you Tim. However, I am still

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-02 Thread nateross83
Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 9:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread nateross83
I am experiencing the same problems trying to profile an AIR 1.5 app. Here is my stack trace: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Tim Hoff
Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run the profiler just fine, but for some reason the profiler swf is trying to be loaded with a regular launch. I tried Alex's suggestion (mm.cfg) with

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
: Wednesday, April 01, 2009 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Tim Hoff
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Hi Nate, Unfortunately I'm still having the problem as well. The difference is that mine shows up only when launching an Air app. I'm able to run the profiler just fine

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 6:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Actually, I couldn't find that specific file on my system (vista ultimate). The closest thing that I could find was C

[flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Tim Hoff
[mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, April 01, 2009 6:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Actually, I couldn't find that specific file on my system (vista ultimate). The closest

RE: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2

2009-04-01 Thread Alex Harui
@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation error after upgrade to SDK 3.2 Nailed it! C:\Users\Tim\mm.cfg: TraceOutputFileName=C:\Users\Tim\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt ErrorReportingEnable=1 MaxWarnings=0 TraceOutputFileEnable=1 PreloadSwf=C:/dev

[flexcoders] Re: Security sandbox violation on Bitmapdata.draw( rtmpVid ) despite crosspolicy

2009-01-16 Thread jwebbsuccess
I am testing the video player Flex app over 'file:///C:/' but the Flash CS4 demo is technically on 'file:///C:/' as well. Both are in subdirectories of my desktop/document folder and both are trying to access the very same file over RTMP. Here's the official error from the video player:

[flexcoders] Re: Security sandbox violation on Bitmapdata.draw( rtmpVid ) despite crosspolicy

2009-01-16 Thread jwebbsuccess
I tested the video player SWF online... Just as I thought; it didn't make a difference. I need to figure out how the Flash CS4/AS2 demo is able to successfully get a snapshot and why the Flex/AS3 video player is not. --- In flexcoders@yahoogroups.com, jwebbsuccess jw...@... wrote: I am

RE: [flexcoders] Re: Security sandbox violation on Bitmapdata.draw( rtmpVid ) despite crosspolicy

2009-01-16 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation on Bitmapdata.draw( rtmpVid ) despite crosspolicy I tested the video player SWF online... Just as I thought; it didn't make a difference. I need to figure out how the Flash CS4/AS2 demo is able to successfully get

Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-13 Thread Tom Chiverton
On Thursday 08 Jan 2009, Maciek Sakrejda wrote: Interesting; however I'm using Evolution against an Exchange server, Your 'From' address just changed from @gmail to something else... -- Tom Chiverton Helping to paradigmatically monetize distributed sticky granular infrastructures

Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-08 Thread Tom Chiverton
On Wednesday 07 Jan 2009, maciek9billion wrote: Please ignore. I checked using the Yahoo! Groups interface, and the message showed up just fine. Must be something funky with either my mail or flexcoders mail. GMail wont show posts you send to mailing lists until someone replies. -- Tom

Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-08 Thread Maciek Sakrejda
there are goblins in the tubes messing with my mail. -Maciek -Original Message- From: Tom Chiverton tom.chiver...@halliwells.com Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser Date: Thu

[flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-07 Thread maciek9billion
Please ignore. I checked using the Yahoo! Groups interface, and the message showed up just fine. Must be something funky with either my mail or flexcoders mail. --- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: (sorry if this is a dupe, but the message I sent yesterday

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-21 Thread Ward Loockx
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] On Behalf Of Ward Loockx Sent: Thursday, November 20, 2008 8:30 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use

[flexcoders] Re: Security Sandbox Violation message

2008-11-21 Thread Anthony DeBonis
A lot of people are having issues with this now: Adobe implemented the stricter requirements in Flash Player in three phases. In Phase 1, which began with Flash Player 9,0,115,0, a small number of strict rules were enforced immediately, but most violations of the strict rules resulted only in

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-21 Thread Alex Harui
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward Loockx Sent: Friday, November 21, 2008 12:03 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property Alex Harui schreef

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-20 Thread Ward Loockx
] *On Behalf Of *Ward Loockx *Sent:* Monday, November 17, 2008 9:07 AM *To:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property valdhor schreef

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-20 Thread Alex Harui
20, 2008 8:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property Alex Harui schreef: First you have to identify which code is causing the violation. Post the entire violation. It should

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-18 Thread Ward Loockx
to put in some conditional code to deal with it *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Ward Loockx *Sent:* Monday, November 17, 2008 9:07 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-18 Thread Alex Harui
=if (Security.sandboxType=='remote') ldr.trustContent=true else ldr.trustContent=false / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward Loockx Sent: Tuesday, November 18, 2008 12:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local

[flexcoders] Re: Security Sandbox Violation message

2008-11-17 Thread valdhor
This may or may not help... I get this error every time I create a new project (Don't ask me why; It just started one day). I found that I had to go into the Global Security Settings Manager (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html) and add the

[flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-17 Thread valdhor
Try adding your bin-debug directory to your Global Security Settings Manager (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html) --- In flexcoders@yahoogroups.com, Ward Loockx [EMAIL PROTECTED] wrote: Hello, When I'm trying to load images from a

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-17 Thread Ward Loockx
valdhor schreef: Try adding your bin-debug directory to your Global Security Settings Manager (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html) --- In

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-17 Thread Alex Harui
conditional code to deal with it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward Loockx Sent: Monday, November 17, 2008 9:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain

[flexcoders] Re: Security sandbox violation 2048

2007-12-06 Thread sarah_e_boys
Thanks Tom. I have a crossdomain.xml file. The problem is that I misspelt the domain name in my code. info-hrw should be info.hrw- uk.local... --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 06 Dec 2007, sarah_e_boys wrote: I was hoping someone

Re: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-06 Thread Oriol Gual
Hi Ben, This is quite strange, can you acces your db through php without calling it from Flex? Oriol. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
] On Behalf Of lift69boy Sent: Monday, April 03, 2006 12:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL yes to all your questions...I'm calling the php script from my mxml both of which are on localhost, I am running my flex

Re: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread Oriol Gual
Why have you set the mysql default port to 80? 80 is the port for web servers usually and I wouldn't recommend to have mysql at it. The mysql default port is 3306.Another question, have you tried to access your php script without Flex? Just to make sure it's working properly. Oriol. --

[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
] On Behalf Of lift69boy Sent: Monday, April 03, 2006 12:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL yes to all your questions...I'm calling the php script from my mxml both of which are on localhost, I am running my flex

[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
Hi Oriol I've reset to 3306. I've run my php script in the browser it works fine. If I call a simple (no db read) php script from flex, no error is returned which indicates that the security is fine between flash the php, both localhost:80/. This only leaves security issues in accessing my

[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-03 Thread lift69boy
: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL Cheers Matt Forgive my ignorance but could you please define main otherI've configured my project to run on localhost, my php script runs no probs on localhost, i've gone down the proxy route but still the same error

RE: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-03 Thread Matt Chotin
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL Cheers Matt Forgive my ignorance but could you please define main otherI've configured my project to run on localhost, my php script runs no probs on localhost, i've gone down the proxy

[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-02 Thread lift69boy
Cheers Matt Forgive my ignorance but could you please define main otherI've configured my project to run on localhost, my php script runs no probs on localhost, i've gone down the proxy route but still the same error. I've looked through Apache PHP config nothing obvious here. I'm

RE: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-02 Thread Matt Chotin
, April 02, 2006 1:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL Cheers Matt Forgive my ignorance but could you please define main otherI've configured my project to run on localhost, my php script runs no probs on localhost

[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-03-31 Thread Renaun Erickson
Can you create some sample code we can see? Flex2 has a Publish Application Source feature. --- In flexcoders@yahoogroups.com, lift69boy [EMAIL PROTECTED] wrote: hi allnot a new question but still can't find the answer... i think this is more of a flash security issue but I get the