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 8358947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:58:39+00:00 2026-06-09T10:58:39+00:00

When a site has the following crossdomain.xml configurations. What does the following imply? Second,

  • 0

When a site has the following crossdomain.xml configurations. What does the following imply?

Second, if Site A (http) hosts a flash uploader script which uploads to S3, is this crossdomain.xml file safe to have on the S3 root dir?

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <!-- 
    Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html 
  -->

  <!-- Most restrictive policy:
  <site-control permitted-cross-domain-policies="none"/>
  -->

  <!-- Least restrictive policy: -->
  <site-control permitted-cross-domain-policies="all"/>
  <allow-access-from domain="*" to-ports="*" secure="false"/>
  <allow-http-request-headers-from domain="*" headers="*" secure="false"/>

  <!--
    If you host a crossdomain.xml file with allow-access-from domain="*"    
    and don’t understand all of the points described here, you probably     
    have a nasty security vulnerability. ~ simon willison
  -->
</cross-domain-policy>
  • 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-06-09T10:58:41+00:00Added an answer on June 9, 2026 at 10:58 am

    This is the most permissive variation, probably given by the host, not the site owner. This is because of permitted-cross-domain-policies node, if it was your own site, where you aren’t hosting other people’s sites, you’d like to restrict the rules to only this one file.

    The allow-access-from allows content loaded from HTTPS to make calls to this domain via HTTP and vice versa. This is something that in your own site you would probably not allow, but who knows, sometimes advertisements need to do it. I don’t think that to-ports attribute in this context has any effect as this file will be only accessed via HTTP(S), which, normally, on public servers listen on port 80/443.

    The allow-http-request-headers-from seems redundant, but I’m not sure, the policies changed a lot in the past… I don’t know of any headers that have been restricted by default, but possible to send from Flash otherwise. You will find more severe limitations on client side, if any.

    Re’ your other question, well, obviously, I’d restrict it to only the site A, not all sites. I’d also declare this crossdomain a master (instead of allowing child crossdomains). I would probably remove the allow-http-request-headers-from entirely, as well as to-ports attributes. If you believe that you may have situation when your SWF is loaded through HTTPS, but will try to upload using HTTP, then leave secure attribute as is, otherwise either remove it, or set to true.

    More than that… Well, this is a “bonus”. After much of intercourse with Flash HTTP I’ve come to conclusion that if you have the time and necessary facilities, such as you can add server modules, for example, or you may affect the way your server functions. E.g. there is an Apache module that lets it serve the socket crossdomain policy. It’s better to implement the part of HTTP that you need using Socket class instead of using half-a*ed Adobe’s implementation.

    The whole crossdomain business might give you some false feeling of security, while it is actually security by obscurity. Because of it being extremely inconvenient, coupled with Flash own lacking implementation of HTTP you would run yourself into a place, where you are forced to do much worse things than reinventing HTTP :). You’ll remember about that once you will need response headers for example… 😉

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

Sidebar

Related Questions

I am trying to build a site which has the following pages which needs
I am trying to login to a site which has the following form: <div
I have a asp.net mvc site with a master page and it has following
My site has an input box, which has a onkeydown event that merely alerts
This site has a technique to pass xml data around in Microsoft SQL Server:
My site has few global configurations. For example "smtp-server address", "company address", etc. Of
My site has the following url format: www.mysite.com/Display.aspx?ID=128 However most users see the url
My theme's custom options panel has the following code... ` /* initialize the site
I have this site I am working on, it has the following menu items:
I'm working on a magento site which has a large amount of entries in

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.