Flash Player Error 2170
and SafetyAsset NetworkAsset Operations and MaintenanceCommerceOverviewSubscription Billing and Revenue ManagementMaster Data Management for CommerceOmnichannel CommerceFinanceOverviewAccounting and Financial CloseCollaborative Finance OperationsEnterprise Risk and ComplianceFinancial Planning and AnalysisTreasury and Financial Risk ManagementHuman ResourcesOverviewCore Human Resources and PayrollHuman Capital AnalyticsTalent ManagementTime and Attendance ManagementManufacturingOverviewManufacturing NetworkManufacturing OperationsResponsive ManufacturingMarketingOverviewMarket with Speed and AgilityUnique Customer ExperiencesReal-Time Customer InsightsR&D/EngineeringOverviewDesign NetworkDesign OrchestrationProject and Portfolio ManagementSalesOverviewCollaborative Quote to CashSales Force AutomationSales Performance ManagementSelling Through Contact CentersServiceOverviewEfficient Field Service ManagementOmnichannel Customer ServiceTransparent Service Process and OperationsSourcing and ProcurementOverviewContingent Workforce ManagementDirect ProcurementSelf-Service ProcurementServices ProcurementStrategic Sourcing and Supplier ManagementSupply ChainOverviewDemand ManagementDemand NetworkLogistics NetworkManufacturing Planning and SchedulingResponse NetworkResponse and Supply ManagementSales, Inventory, and Operations PlanningTransportation ManagementWarehouse ManagementSustainabilityOverviewEnvironment, Health, and SafetyProduct Safety and Stewardship NetworkBrowse by IndustryAerospace and DefenseAutomotiveBankingChemicalsConsumer ProductsDefense and SecurityEngineering, Construction, and OperationsHealthcareHigh TechHigher Education and ResearchIndustrial Machinery and ComponentsInsuranceLife SciencesMediaMill ProductsMiningOil and GasProfessional ServicesPublic SectorRetailSports and EntertainmentTelecommunicationsTravel and TransportationUtilitiesWholesale DistributionBrowse Platform and TechnologyAnalyticsOverviewBusiness IntelligencePredictive AnalyticsGovernance, Risk, and ComplianceEnterprise Performance ManagementApplication Platform and InfrastructureOverviewApplication PlatformContent and CollaborationInterface ManagementProcess Management and IntegrationData ManagementOverviewBig Data on HadoopData WarehousingDatabase ManagementEnterprise Information ManagementIT ManagementOverviewApplication Lifecycle Ma
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 https://scn.sap.com/thread/1809863 comes to mind is the 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 http://jeyathilak.blogspot.com/2010/06/flash-security-error-2170-security.html from both http and https. I still 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 fa
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 this site About Us Learn more about http://stackoverflow.com/questions/18536255/flash-crossdomain-xml-is-ignored Stack Overflow the company Business Learn 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 flash: crossdomain.xml is ignored up vote 3 down vote favorite I have some, flash player say, weird situation... Here is what it is: Flash application which records audio on one server and uploads it on another server. So, as you likely guessed, I faced that security sandbox violation exceptions/errors and it seems I have to add crossdomain.xml to the root of the server. Ok, did it, but it seems it didn't get downloaded or download process is interupted, so I keep getting this errors. Could flash player error somebody point me to my mistakes, please? I really don't getting what I am doing wrong. Here is the error I get while trying to upload audio: Error #2044: Unhandled securityError:. text=Error #2170: Security sandbox violation: https://ip1/bar/foo cannot send HTTP headers to https://ip2/foo/bar Here is the content of my crossdomain.xml (test version):