Solved

Flex not accepting security policy

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 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

11 Experts available now in Live!

Get 1:1 Help Now