IT Community - Software Programming, Web Development and Technical Support

Cross domain policy in flash

This is a discussion on Cross domain policy in flash within the Flash Actionscript Programming forums, part of the Web Development category; Cross domain policy in flash Cross domain data Transfer. When a Flash document attempts to access data from another domain, ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Flash Actionscript Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-17-2007, 11:48 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 632
oxygen is on a distinguished road
Default Cross domain policy in flash

Cross domain policy in flash

Cross domain data Transfer.

When a Flash document attempts to access data from another domain, Flash Player automatically attempts to load a policy file from that domain. If the domain of the Flash document that is attempting to access the data is included in the policy file, the data is automatically accessible.

Policy files must be named crossdomain.xml, and can reside either at the root directory or in another directory on the server that is serving the data. Policy files function only on servers that communicate over HTTP, HTTPS, or FTP. The policy file is specific to the port and protocol of the server where it resides.

The sample policy file is given below

<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="www.yourdomain.com" /> // Allow the yourdomain domain
<allow-access-from domain="105.216.0.40" /> // Allow domain with the IP Address
<allow-access-from domain="*.something.com" /> //Allow doamins which ends with something.com
</cross-domain-policy>
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-19-2007, 03:07 AM
mahalingam mahalingam is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 1
mahalingam is on a distinguished road
Smile Re: Cross domain policy in flash

Good to know about this thread
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Remove IE Maintenance settings from group policy bluesky Operating Systems 2 07-02-2009 02:09 AM
Why did the chicken cross the road? kimax The Lounge 2 11-25-2008 10:13 AM
Cross Country vozduhh The Lounge 0 02-17-2008 10:38 PM
defect policy report vigneshgets Software Testing 0 01-17-2008 01:40 AM
how to make the cross cabling? write2ashokkumar Networking & Internet Connectivity 0 11-15-2007 05:51 AM


All times are GMT -7. The time now is 10:18 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0