Solved

Flex not accepting security policy

Posted on 2010-11-11
1
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Article by: rfc1180
The Maximum Segment size (MSS) is an important consideration when troubleshooting connectivity via the Internet/Intranet. As the packets are routed via the Internet/Intranet, the packets must traverse through multiple routers in the path between two…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

752 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