Content-type of Flash 9/10 Security Policy

Source: Internet
Author: User

A new security policy is added to flash9/10.

The http header returned by the requested crossdomain. xml must be replaced by content-type and must be text/(any text format)

If this is not the case, crossdomain. xml will be ignored even if it exists.

It took only one day to find out and collapsed...

Details: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_02.html#_Content-Type_Whitelist

 

Reference:

Content-type whitelist

Starting in version 9,0, 115,0, Flash Player will ignore any HTTP policy file that is not sent withContent-TypeValue that gives some assurance that the file is intended to be a text file. Flash Player requires that a policy file'sContent-TypeMust be one of the following:

  • text/*(AnytextType)

  • application/xmlOrapplication/xhtml+xml

Content-TypeValues are determined from the response headers provided by HTTP servers. Servers may chooseContent-TypeBased on a file's name, extension, location, contents, or the instructions of a server script generating the file. If you need to changeContent-TypeAssociated with a policy file, you may need to reconfigure a registry mapping filename extensionsContent-TypeValues, or edit a general server configuration file. Consult the documentation for your HTTP server.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.