|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi all
We heard that Adobe is going to change the socket security and forcing the corssdomain file to be serve through a socket server. So we implement a socket server that will feed the crosssdomain.xml when flash ask for the policy file at port 8080 (Notice not the 843). Everything is good until we notice there is warning in the flash debug log. ============= OK: Searching for <allow-access-from> in policy files to authorize data loading from resource at xmlsocket://<remove>:8080 by requestor from http://<remove>.swf Warning: Timeout on xmlsocket://<remove>:843 (at 3 seconds) while waiting for socket policy file. This should not cause any problems, but see http://www.adobe.com/go/strict_policy_files for an explanation. OK: Policy file accepted: xmlsocket://<remove>:8080 OK: Request for resource at xmlsocket://<remove>:8080 by requestor from http://<remove>.swf is permitted due to policy file at xmlsocket://<remove>:8080 ============= We figure since there is the loadpolicyfile function call, we can tell flash to load the policyfile from the port 8080 and forget about the port 843. Security.loadPolicyFile("xmlsocket://" + host + ":8080") We get the same result even we have the Security.loadpolicyfile call telling it to use 8080 port. We would like to NOT use the port 843. We also would like to avoid the 3 second delay cause by the flash lookup at the port 843. My question is. Is there anyway to tell Flash to just look at port 8080 and forget about port 843 for the policyfile? Thanks in advance |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Hi, go to http://www.flash-resources.net , you can find a java application that can serve policy files to resolve this problem.
|
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Firstly thank you "mirkasim" for providing a Java version.
I have to say, i find it amazing that Adobe, are forcing use of these new policy features without providing both documentation along with example apps for those application servers they sell dare I try and say support with out being offensive. Why is there no such documentation for ColdFusion or an explation of a Java implementation that will run on ColdFusion. I am aware of the Perl and Phython scripts, and yes have installed Ative State on a development server to test the serving of the policy file on port 843. I am not happy however after buying licenses for CF8 that our clients who have also purchased licenses for CF8 would now have to impement something which we don't support, that being Perl. Maybe this is why so many companies are looking fro .NET developers? I am waiting for a suitable solutiong from Adobe. Regards petcol. |
|
![]() |
| Outils de la discussion | |
|
|