Adobe Flash Player Error 2170
ElementsAdobe Dreamweaver Adobe MuseAdobe Animate CCAdobe Premiere ProAdobe After EffectsAdobe IllustratorAdobe InDesignView all communitiesExplore Menu beginsMeet the expertsLearn our productsConnect with your peersError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Adobe Animate CC - General All CommunitiesAdobe Animate CC - HomeAdobe Animate CC - General 0 Replies Latest reply on Aug 4, 2010 6:39 PM by !!thomen!! Crossdomain.xml issues with error #2170 !!thomen!! Aug 4, 2010 6:39 PM Alas im having issues with a request header security violation.. im writing out a custom post header to save out an image from a flash app.. I have it loading the security policy file crossdomain.xml in the root of the site but still can't get it working.. I've completely opened up the file I have a swf that loads another swf and inside the loader I've placed:Security.loadPolicyFile("http://www.domain.com.au/crossdomain.xml"); Which contains:
app has to connect to salesforce to utilize Force.com Web service APIs. From the Development Environment, that is, from the Flex Builder there is no problem in connecting to Salesforce either over http or https. However, once the Flex app is published to one of the Cisco's IIS or Tomcat Server, the Flex app could not connect to Salesforce complaining Security sandbox violation (not the Salesforce sandbox, but the Flash player sandbox). Whenever there is a security violation, the first thing that comes to mind is the https://forums.adobe.com/thread/694073 crossdomain.xml that should be properly configured and set-up at the salesforce end.Salesforce had the crossdomain.xml in both their http and https servers.http://test.salesforce.com/services/Soap/u/crossdomain.xmlhttp://test.salesforce.com/services/Soap/crossdomain.xmlhttps://test.salesforce.com/services/Soap/u/crossdomain.xmlhttps://test.salesforce.com/services/Soap/crossdomain.xmlThis is the content of the crossdomain.xml file in salesforce.com- < cross-domain- policy>< allow-access- from domain="*" secure="true" /> < allow-http- request-headers- from domain="*" headers="*" secure="true" /> < /cross-domain- policy>I tried my swf accessed from both http and https. I still http://jeyathilak.blogspot.com/2010/06/flash-security-error-2170-security.html get the same error. Error #2170: Security sandbox violationI gave permission for the swf file to allow access to Salesforce URL in swf settings > Global security settings panel. I still get the same error. Error #2170: Security sandbox violationThanks to one of the coders in the flex forum, he alerted me of the new security feature that got introduced in Flash Player 10. The above solution would have worked great in Flash player 9, bcos in version 9, the flash player would automatically look at the root crossdomain.xml in salesforce.com. If it is not there, it would look at the next crossdomain.xml in /root/at this folder1/crossdomain.xmlBut in Flash player 10, we have to load crossdomain file explicitly in the Flex code. Read here for more info:http://www.adobe.com/devnet/flashplayer/articles/fplayer9_ security_03.htmlI have added the following code in my flex app. private function setupSecurity():void { Security.loadPolicyFile("https://test.salesforce.com/services/Soap/u/crossdomain.xml"); }Did it work? No! Why? I have deployed the Flex app on the Cisco's IIS server which is a http server. So the Flex app failed to connect saying the same error because I was trying to connect to http IIS
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of http://stackoverflow.com/questions/4199549/flash-security-exception-in-urlloader-subdomain-issue this site About Us Learn more about Stack Overflow the company Business Learn http://www.forumtopics.com/busobj/viewtopic.php?p=775987 more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up adobe flash Flash Security Exception in URLLoader (subdomain issue) up vote 0 down vote favorite I'm working on a Flash magazine. When the magazine loads, it starts fetching all the needed images for the pages. However, I've run into a strange Security Issue :S. Let me try to explain... This is how everything is setup on the server: mydomain.com/view.html <--- the main page that embeds /swf/theviewer.swf adobe flash player mydomain.com/swf/theviewer.swf <--- the magazine viewer mydomain.com/img/img01.jpg <- mydomain.com/img/img02.jpg <-- mydomain.com/img/img03.jpg ... <--- all the images that the mag fetches The magazine is 'hard'-coded to always fetch images from 'mydomain.com/img/*'. If I open my browser, and navigate to 'http://mydomain.com/view.html' everything works out neat. However, if I go to 'http://WWW.mydomain.com/view.html' instead, the viewer throws a Security Exception (an URLLoader throws it, actually). Can someone help me figure out what's going on? UPDATE: I've properly setup my crossdomain.xml file to allow *.mydomain.com Also, I've set 'allowScriptAccess' to sameDomain. Still have the same issue. There's another thing, a couple friends that were testing the site said that when opening the site with Firefox this does NOT happen (everything's fine), however if I use Firefox, error's there. Maybe it has something to do with browser's own security policies. flash actionscript-3 security crossdomain.xml urlloader share|improve this question edited Jul 19 '12 at 19:55 asked Nov 16 '10 at 22:10 almosnow 93421631 change your allowScriptAccess to "always" instead fo "sameDomain". The domain matching seems to be your main issue here... –exoboy Nov 16 '10 at 23:45 set to always now –almosno
Analytics Conference: Oct 18, Mastering SAP BI, Melbourne: Oct 23. Xcelsius 2008 error#21702 members found this topic helpful Goto page Previous1, 2, 3Next Search this topic...|Search Xcelsius - Crystal Dashboard Design...|Search Box Select a search Explain These Choices... --------------------Recent Topics (All Forums) Unanswered Posts Register or Login to Post Forum Index -> Other Products -> Xcelsius - Crystal Dashboard Design Author Message dcolinaForum MemberJoined: 27 Jul 2009Posts: 5 Posted: Thu Sep 03, 2009 10:16 amPost subject: Re: Xcelsius 2008 error#2170 Hi All I have the crossdomain file set up in the correct location and it is working fine. However, some users are getting an Error #2170 when trying to open the dashboard (using QAAWS) in infoview. It primarily happens for users who are not part of the admin group. I added the users to the (QAAWS Group Designer) group and gave them full control. When they log in using Enterprise Authentication it works fine. But if they log in using Windows AD they get the 2170 error. Only myself which I'm the admin, and anyone else part of the admin group can open the dashboard when in Windows AD mode. I am using xcelsius 2008 and BO 3.1 Any thoughts or suggestions would be greatly appreciated. We're running out of time. Thank You Back to top winterfire23Forum MemberJoined: 10 Mar 2009Posts: 23 Posted: Wed Sep 30, 2009 9:18 pmPost subject: Re: Xcelsius 2008 error#2170 EverythingXcelsius wrote: Ryan Goodman wrote a small article about this on his blog. http://ryangoodman.net/blog/index.php?s=cross+domain&sentence=AND&submit=Search He shows you how to configure the file and states that you then take the code on his site "Save this code as crossdomain.xml and place it in the root directory of the application server that provides data to your SWF." Here is also a directly link to Adobe's website explaining the Flash 9 updates: http://livedocs.adobe.com/flex/3/html/help.html?content=deployingoverview_12.html Hope this helps! Xcelsius Gurus _______________________ http://www.everythingxcelsius.com "Xcelsius Gurus share tips, reviews, tricks and much more!" This is one great solution. Easy instructions and it works! thanks!! Back to top biliForum MemberJoined: 15 Oct 2009Posts: 9Location: Chile Posted: Wed Oct 21, 2009 10:13 pmPost subject: Re: Xcelsius 2008 error#2170 Hi mroso, The crossdo