The Ultrashock Ultra Bundle
  • Home
  • Community
  • Forum
  • Flash
  • Data Communication
  • Thread
  •  
  • Previous topic
  • Next topic
Sign up to post

Flash
 Data Communication

  • D-ziner Author 
    • 3721 
    • 0 
    • 4 
    Flash 9 Security and Crossdomain.xml
    Nutrox

    Last reply Oct 13 2008, 11:08 AM

    by Nutrox

    Posted: Oct 07 2008, 02:15 AM

    by D-ziner

     

HI,

We are struggling with a small problem since the Flash 9 plugin has become available. The website: http://www.impartproductions.com/Jump/ is using a webservice to import data into a flash site.
For some reason the data doesn’t load, due to the crossdomain.xml file security changes flash 9 has made.

Is there anyone who could fix the crossdomain.xml file with the right settings? http://www.importpartners.com/crossdomain.xml

I have tried some things described in this article, but can’t figure it out right…
http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_changes.html


thanx in advance

  4 REPLIES
 
Nutrox
1  
Nutrox

Welcome to Ultrashock, D-ziner. ultrashock

If http://www.jumperrecords.com is trying to access http://www.impartproductions.com then give this a try…

<?xml version="1.0" encoding="utf-8" ?> 
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<
cross-domain-policy>
    <
site-control permitted-cross-domain-policies="all"/>
    <
allow-access-from domain="www.jumperrecords.com"/>
    <
allow-http-request-headers-from domain="www.jumperrecords.com" headers="SOAPAction"/>
</
cross-domain-policy> 

Keep in mind that subdomains (i.e. beats.jumperrecords.com) also need to be given access, so depending on how you have things setup you might want to try this version instead…

<?xml version="1.0" encoding="utf-8" ?> 
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<
cross-domain-policy>
    <
site-control permitted-cross-domain-policies="all"/>
    <
allow-access-from domain="*.jumperrecords.com"/>
    <
allow-http-request-headers-from domain="*.jumperrecords.com" headers="SOAPAction"/>
</
cross-domain-policy> 

Let us know how you get on. smilie

  • 07 October 2008 02:33 AM
  •  
D-ziner Author 
2  
D-ziner

Hi,

I’ve changed the crossdomain.xml file like you said and uploaded on http://www.importpartners.com/crossdomain.xml

Unfortunatlly no change on http://www.impartproductions.com/Jump/  :: http://www.jumperrecords.com

I have tried numerous combinations with the domainnames but no luck. Could it be there has to be changed something in the actionscript files? (Website was made with Flash MX)

thnx

  • 07 October 2008 12:16 PM
  •  
D-ziner Author 
3  
D-ziner

This script did the trick:

<?xml version=“1.0” encoding=“UTF-8”?>
<!DOCTYPE cross-domain-policy SYSTEM
“http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd”>
<cross-domain-policy>
  <allow-access-from domain=”*” secure=“false” >
  <allow-http-request-headers-from domain=”*” headers=”*” secure=“false” >
</cross-domain-policy>

  • 13 October 2008 10:43 AM
  •  
Nutrox
4  
Nutrox

Yeah that isn’t very secure though, you are basically granting any SWF from any domain full access to your public website files and services. I will hunt around the Adobe site today to see if anyone else has had problems with Flash MX files.

  • 13 October 2008 11:08 AM
  •  
  •   Log in or join for free to make a comment.
 
Topic actions
  •  Share on Facebook
  •  Share on Twitter
Topic Categories
  •  Show All Topics
  •  Development
    •  Server Side
    •  Client Side
  •  Creative Software
    •  Web
    •  Video
    •  3D
    •  Illustrator
    •  Photoshop Battles
    •  Photoshop
  •  Design
    •  Typography
    •  Resources & Insight
    •  Checkpoint
  •  Career
    •  Copyright Matters
    •  Advice & issues
    •  Job Seekers
    •  Job Offers
  •  Flash
    •  UltraMath
    •  OOP
    •  Third Party Tools
    •  Open Source alternatives
    •  Data Communication
    •  Components
    •  Flex
    •  AIR
    •  Flash Lite
    •  Flash Professional
    •  Flash Newbie
    •  ActionScript
    •  XML
  •  Lounge
    •  Polls
    •  Random Chat
    •  Showcase And Critique
    •  BombShock Award Nominations
  •  Community Essentials
    •  BombShock Award Winners
    •  Tutorials
    •  Interviews
    •  News
    •  Bitmap tutorials
Popular Topics
  • Sort by: 
  • Activity
  • Views
  • Comments
  • Likes
Advertise with us
  • Your advertisement here!
  • loading
Ultrashock
  • Creative Assets
  • Community
  • Blog
  1. Home
  2. Forum
+/-
Creative Assets
  • Categories
  • Contributors
  • How to buy
Make Money
  • Commission Rates
  • Referral Program
  • Contributor Program
Community
  • Activity Feed
  • Forum
  • Profiles
About
  • Quick Tour
  • Our History
  • Banners & Logos
Support
  • Contact Ultrashock
  • Advertise with us
  • Legal Information
  •  Keep up to date
  • Flash 775  Flash
  • Audio 6,481  Audio
  • Vector 2,130  Vectors
  • Image 12,338  Images
  • Creative Assets 21,724  Assets
  • Profiles 282,659  Members
  • Topics 93,762  Topics
  • Blog 4  Blog
  • Facebook 1,680  Facebook
  • Twitter 1,165  Twitter
  • Join our FREE monthly newsletter!
  • Archive
  • Invalid email address. Please try again.
Subscribe
  • ©2012 Ultrashock LLC - All rights reserved
  • Terms of Use
  • Privacy Policy
  • Switch to dark theme
  • RSS Feeds
  • Top

©2012 Ultrashock LLC - All rights reserved

Printed on Sat, February 04, 2012 - 19:12:27