使用 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.
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。