A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Secure XML on Client's PC

  1. #1

    Secure XML on Client's PC

    Hi All

    I am creating an application which loads images in swf. Image paths/names are loading from xml. XML will be dynamically generated with asp.net. Users will download SWF, XML and images as a (ZIP) package from our server for multimedia CD or their own website.
    My question:
    NOW, how can i secure my swf and XML so useres wont be able to add new content by modifying tags in xml? We dont want users to add/modify content by themselves. How can i secure my swf or xml?

    P.N. * users will use our package offline!
    Lethal Web Professionals
    www.digitaluweb.com

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    hi,

    As long as I know, that's impossible to do.
    An XML file is a simple text file, so as long as you give it to the user, she'll be able to change it in any text editor.

    With all the decompilers and swf to fla tools available, the same stands true for the .swf file.
    You may try an encrypter, but that will only make things more difficult, not protected.

  3. #3
    Retired SCORM Guru PAlexC's Avatar
    Join Date
    Nov 2000
    Location
    NJ
    Posts
    1,387
    The only thing I can think of would be to wrap using something like Zinc. I'm not sure it'll let you do this, but what you would have it do is check the modified date of the XML file and decide whether to use it based on that or not.

    ...of course, they could always switch out the assets referenced by that xml file as well.

    It sounds like they "build" their package with a web app, and then it creates a zip for them to download, correct?

    I'd look into having the server compile one or more swf's, then obfuscate them. Your packages would then be all swf, not a combination of swf/xml/images. I'm assuming you could have both a compiler and obfuscator run on a server, correct?
    "What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
    ...and now I have tape all over my face.

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center