DRM, MetaData and swfs. September 18, 2007
DRM in flash can be tricky, how is it you identify and pass id's to a swf duplicated a thousand times to know where it goes?
1) A temp approach is using server generated FlashVars in AS3, good for session ID's
http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.html
2) First not visible to actionscript is the metadata tag, preferrably writing it on th fly:
http://tutorials.lastashero.com/2005/10/using_swf_metadata_in_flash_8.html (via the IDE)
The metadata can easily be retrieved by some search engine swf plugins, it's actually what it was designed for.
There is a $30 dollar utility to batch do this to your swfs:
http://www.polarswf.com/
3) Accessible to actionscript is rewriting of variables in the swf This is useful when root vars aren't an option, and or license keys (e.g. encrypted tokens) need to be embedded into the swf.
http://neurofuzzy.net/index.php?p=25
Both 2 and 3 can be accomplished via AS3 and ByteArray. Though I haven't tried it yet.

Add a Comment: