Link to home
Start Free TrialLog in
Avatar of ed987
ed987

asked on

policy file request

my deamon receives <policy-file-request/> from some flash client connects.

can you give me an example of what i should send as a reply ?
.swf resides on same domain as this deamon, just different port.
ASKER CERTIFIED SOLUTION
Avatar of blue-genie
blue-genie
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shirish_patel
shirish_patel

When you receive "<policy-file-request/>" in the Data Arrival you need to send data back to Flash Client :-

<?xml version="1.0"?>
<!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="*" to-ports="*" secure="false"/>
   <allow-http-request-headers-from domain="*" headers="*"/>
   <allow-http-request-headers-from domain="*"/>
</cross-domain-policy> + '\0'