Search code examples
javascriptflashactionscript-3securityexternalinterface

Flash and javascript ExternalInterface safety


Is it safe to share data between flash and javascript using ExternalInterface? I'm building a game where I want to pass scores to js, not sure if this is safe enough.

Thanks


Solution

  • Nothing is safe. Anything you pass to JavaScript could be easily retrieved just by using a browser's developer console, by overriding the function called by ExternalInterface and intercepting the arguments.