使用 AllowNetworking Flash的世界安静了
作者:
使用 AllowNetworking Flash的世界安静了
经常遇到有人喜欢利用 Flash 的 getURL 进行跳转,而且 allowScriptAccess 还无法限制。 今天问同事,学到一个新的属性 AllowNetworking ,可以防止任何getURL的动作。
看看官方的说明哈
引用内容
This HTML parameter governs a number of ActionScript
APIs. It has the following possible values:
"all"—the default. No networking restrictions; player
behaves normally.
"internal"—SWF files may not call browser navigation or
browser interaction APIs, but may call any other networking
APIs.
"none"—SWF files may not call any networking APIs, nor
any SWF-to-SWF communication APIs.
看看官方的说明哈
引用内容
复制代码 代码如下:
This HTML parameter governs a number of ActionScript
APIs. It has the following possible values:
"all"—the default. No networking restrictions; player
behaves normally.
"internal"—SWF files may not call browser navigation or
browser interaction APIs, but may call any other networking
APIs.
"none"—SWF files may not call any networking APIs, nor
any SWF-to-SWF communication APIs.