Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3338090
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:19:58+00:00 2026-05-18T00:19:58+00:00

All, I’m trying to load a cross-domain policy file from a custom location (instead

  • 0

All,

I’m trying to load a cross-domain policy file from a custom location (instead of the root).

Specifically, the developer of a web service I’m trying to call has installed a cross-domain policy file on his server at:

http://[web_service_domain]/%5Bsome_subdirectory%5D/crossdomain.xml

So, in my SWF, I’m calling this:

System.security.loadPolicyFile("http://[web_service_domain]/[some_subdirectory]/crossdomain.xml";

However, when I run test that SWF in the Flash IDE, I get this error:

Error opening URL ‘http://[web_service_domain]/crossdomain.xml’

In other words, the loadPolicyFile command is ignoring the [some_subdirectory], and attempting to load the policy file from the root.

Of course, it’s not there, so it fails to load. (If the developer could install the file at the root, I wouldn’t have this problem, so I wouldn’t be using System.security.loadPolicyFile in the first place).

It’s not just in the IDE – when I test the app in Firefox with Firebug, I can see that the SWF is attempting to load the policy file from ‘http://[web_service_domain]/crossdomain.xml’.

I’ve stripped down the SWF so that it does nothing else but attempt to load the policy file from the subdirectory, and it still fails. So, I don’t think this has to do with any idiosyncrasies of my specific app.

Bottom line – does the System.security.loadPolicyFile work? Is there something else I need to do in conjunction with that call to get it to work? Or, is there something I’m doing wrong?

Many thanks in advance for any advice/insight.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T00:19:59+00:00Added an answer on May 18, 2026 at 12:19 am

    It is trying to load the master crossdomain policy file which is now required:
    http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All, In Apple's sample code DateCell http://developer.apple.com/library/ios/#samplecode/DateCell/Introduction/Intro.html the ivar pickerView is declared in MyTableViewController.h
all, I am trying to multiply a matrix to a vector in OpenGL, but
All, I'm trying to split my MSTest test run into multiple runs because I'm
All, I'm working on adding a glossary to an existing site. I'm planning to
All the info I've found on the internet about this says to use something
All, This is a follow up for my question here . My setup: Visual
All, I'm working on a proof of concept replacement for the windows taskbar. (Mostly
All my fortran sources compiled fine with gfortran -g -c fortran_source.f and archived in
All of a sudden I go to my WordPress website and all the pages
All sample function I've seen so far avoid, for some reason, returning a string.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.