Solved

Flex not accepting security policy

Posted on 2010-11-11
1
345 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

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…
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 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