Is it possible to change the value of a variable in a compiled SWF (using as3) through a servlet (say, for each session) before returning the modified SWF back to the client. I noticed that there are several command line commands as Open Source, but they seem to focus on AS2. Is this possible with AS3 code? What libraries are available from java? (i.e. basically editing the resulting pcode in a parsed SWF, and then repacking it).
Ideally, I would like to embed in the main swf for each session token (without using flash-drives), which can then be used to authenticate the request. The goal is to use this as another step in XSS support (combined with cross-domain permission files). Flash vars is still in the DOM, but this will only let the bootloader know the key value (very difficult for java script), and we can block the flash memory so that it doesnโt show the value for any loaded swfs, and cross-domain files can limit any xml reading files on the source server only the source SWF (only one of this domain).
source share