Solved

Flex not accepting security policy

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

713 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