Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
Flash Player Help / 

Deprecation of the "never" setting for allowScriptAccess

Adobe Community Help


Products Affected

  • Flash Player

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

Issue

The debug version of Adobe Flash Player is currently issuing runtime warning messages to developers stating that Adobe is deprecating two security settings:

  1. allowScriptAccess="never"
  2. any use of allowNetworking when a SWF and its enclosing HTML page are from the same domain
To the top

Reason

These settings are deprecated because they can encourage a dangerous practice amongst developers who attempt to use them to control untrusted content hosted on the same domain as trusted content.

The default setting for allowScriptAccess is "sameDomain" which means that if the SWF and the surrounding HTML were both served from the same fully qualified domain name, then the SWF can communicate with the HTML's DOM and access data such as cookies or form data. If the HTML and SWF are served from different domains, then the SWF cannot access the surrounding HTML.

The allowScriptAccess setting of "never" means that the SWF cannot access the HTML's DOM regardless of their respective domains. For the scenario where the SWF and HTML are served from different domains, the "never" setting is redundant with "sameDomain" since the "sameDomain" setting would also block communication between content from different domains. Therefore, the "never" setting only has additional meaning when the SWF and HTML are served from the same domain.

Adobe strongly discourages developers and administrators from hosting untrusted content on the same domain as their trusted website. If a developer is hosting an untrusted SWF on a trusted domain with an allowScriptAccess setting of "never", then an attacker could elevate the allowScriptAccess permissions of the SWF to the default setting of "sameDomain" by directing an end-user to load the SWF directly in the browser without the surrounding HTML. If the SWF is referenced directly and no surrounding HTML is present, then the SWF will load with the default permission of "sameDomain" which can allow access to data such as cookies, even with no surrounding HTML present. A similar elevation of privilege can occur when allowNetworking controls are applied to SWF content that is hosted on the same domain as the referring HTML.

To the top

Solution

Adobe is currently issuing a runtime warning messages alerting developers that this setting is deprecated. Adobe Flash Player 9 and Flash Player 10 currently enforce the allowScriptAccess setting of "never" if it is in place. Adobe is currently working on further refining the security controls available to developers and will have additional controls and clearer guidance in the future. In the meantime, the following best practices are recommended.

Do not host untrusted content on domains that contain sensitive content. The allowScriptAccess and allowNetworking controls are intended for controlling untrusted content that is hosted on a separate fully qualified domain name or IP address. Adobe strongly discourages hosting any untrusted content on the same domain as your sensitive data. If the untrusted content is to be hosted on a separate domain name, ensure that the domain hosting the untrusted content does not resolve via DNS to the same IP address as the domain with trusted content. Untrusted content should be completely separated from the domain hosting the trusted or sensitive content.

If it is not possible to host untrusted SWF content on a separate domain, then the risk may be mitigated by placing the content in a directory that is not web accessible and controlling access through an intermediary CGI proxy to prevent direct linking. This approach can be difficult to implement correctly and would be dependent on the specific implementation of the site. Therefore, Adobe cannot provide specific guidance on this approach and recommends hosting the content on a separate domain.

To the top

Additional Information

The Flash Player security page at http://www.adobe.com/products/flashplayer/security/ should be your first stop for Flash Player security information. Click the "Resources for Developers" tab for a collection of links to useful documents.

You can find the Adobe Live Docs description of allowScriptAccess at http://livedocs.adobe.com/flash/9.0/main/00000360.html#wp131683.

Keywords: kb407748

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement