Adobe Dreamweaver Forums



Last 10 THreads :         Code that can effect two movie clips (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          pop up blocker jacking my login (Last Post : reelhero - Replies : 6 - Views : 7 )           »          RoboHelp 7 Skins (Last Post : HelpDev - Replies : 7 - Views : 35 )           »          Clock .getUTC not working (Last Post : kglad - Replies : 3 - Views : 4 )           »          problems linking PDFs (Last Post : Alan - Replies : 1 - Views : 2 )           »          Changing RadioButton Label (Last Post : justintoflex - Replies : 2 - Views : 5 )           »          Table Borders MIssing in JavaHelp (Last Post : soxmann - Replies : 3 - Views : 8 )           »          cfimage error (Last Post : masoud_amen - Replies : 2 - Views : 3 )           »          Dragging components (Last Post : hsfrey - Replies : 2 - Views : 5 )           »          Is file too large? (Last Post : tweaked_eye - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 12-02-2008, 07:53 PM
bmilesp
 
Posts: n/a
Diggs:
Default security sandbox violation- tried everything?

Hello, i've been pulling my hair out for the past 2 hours now trying to resolve
a:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox
violation: ...

here are the multiple steps i've tried to resolve this:

so i've tried these in my initialize function:

flash.system.Security.allowDomain("http://www.pica saweb.google.com");
flash.system.Security.allowDomain("http://search.y ahoo.com/");
Security.loadPolicyFile("http://localhost/crossdom ain.xml");

also:
Security.loadPolicyFile("c:\wanp\www\crossdomain.x ml");






Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-02-2008, 10:02 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: security sandbox violation- tried everything?


"bmilesp" <webforumsuser@macromedia.com> wrote in message
news:gh43he$g58$1@forums.macromedia.com...
> Hello, i've been pulling my hair out for the past 2 hours now trying to
> resolve
> a:
>
> Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox
> violation: ...
>
> here are the multiple steps i've tried to resolve this:
>
> so i've tried these in my initialize function:
>
> flash.system.Security.allowDomain("http://www.pica saweb.google.com");
> flash.system.Security.allowDomain("http://search.y ahoo.com/");
> Security.loadPolicyFile("http://localhost/crossdom ain.xml");
>
> also:
> Security.loadPolicyFile("c:\wanp\www\crossdomain.x ml");


Why do you think picasaweb or yahoo will be hitting your site?


Reply With Quote
  #3 (permalink)  
Old 12-02-2008, 11:13 PM
bmilesp
 
Posts: n/a
Diggs:
Default Re: security sandbox violation- tried everything?

if these policies i'm adding allow access FROM picassa (and not TO picassa),
therefore not affecting the security violation, then what is causing the
security violation? How do i fix it? Thanks again -b

Reply With Quote


  #4 (permalink)  
Old 12-02-2008, 11:43 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: security sandbox violation- tried everything?


"bmilesp" <webforumsuser@macromedia.com> wrote in message
news:gh4f22$cj$1@forums.macromedia.com...
> if these policies i'm adding allow access FROM picassa (and not TO
> picassa),
> therefore not affecting the security violation, then what is causing the
> security violation? How do i fix it? Thanks again -b


You can't allow access TO picassa. Only picassa can. I think the usual
solution is to use a proxy server.

I'm not sure why it's more secure to have a server that you don't control
hit your server than a Flash file you don't control, but there you have it.

HTH;

Amy


Reply With Quote
  #5 (permalink)  
Old 12-03-2008, 12:24 AM
bmilesp
 
Posts: n/a
Diggs:
Default Re: security sandbox violation- tried everything?

So flash player cannot get an external rss feed from picassa unless picassa has
a crossdomain.xml file that allows a flash app from my site access? If that is
the case, then i would have to use my server as a proxy... well... that just
sounds very anti-web-2.0 doen't it?

Thank you for your help- now time to proxify

Reply With Quote
  #6 (permalink)  
Old 12-03-2008, 01:03 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: security sandbox violation- tried everything?


"bmilesp" <webforumsuser@macromedia.com> wrote in message
news:gh4j99$594$1@forums.macromedia.com...
> So flash player cannot get an external rss feed from picassa unless
> picassa has
> a crossdomain.xml file that allows a flash app from my site access? If
> that is
> the case, then i would have to use my server as a proxy... well... that
> just
> sounds very anti-web-2.0 doen't it?


That about sums it up. :-)

> Thank you for your help- now time to proxify



Good luck!


Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:10 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk