Solved

Flex not accepting security policy

Posted on 2010-11-11
1
343 Views
Last Modified: 2012-06-27
i'm trying to use binary sockets in a Flex based project.  I have a socket server located at port 843 and the actual server application using port 6274.  Both the socket server and the application server are sending the following response when they receive "<policy-file-request/>":

<?xml version="1.0"?>
<!DOCTYPE cross-domain-adobePolicy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-adobePolicy.dtd">
<cross-domain-adobePolicy>
<allow-access-from domain="*" to-ports="*" />
</cross-domain-adobePolicy>

This response is terminated with a chr(0).  Running both servers in the debug mode, I can see the request being made by the .swf and the policy file returned, but I keep getting the security error event inside by .swf file.  What am I doing wrong?
0
Comment
Question by:StarDusterII
1 Comment
 

Accepted Solution

by:
StarDusterII earned 0 total points
ID: 34123158
My bad... I did a global search and replace while writing the program and changed </cross-domain-policy> to </cross-domain-adobePolicy>.   After making the change all works fine.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now