add swf for testing
add basic security