A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Flash to PHP security

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Posts
    10

    Flash to PHP security

    I want to update an online database through Flash via PHP. Now, I can secure the PHP side easily enough but the Flash side concerns me. It's too easy to decompile SWF files (or it used to be - has AS3 changed this?). So, has anyone got a good method of providing a relatively secure Flash to PHP comms? I want to somehow encrypt the username and password but if the swf is decompiled it would be easy to work out the encryption method.
    Xiotex Studios Ltd
    www.xiotex.com

  2. #2
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    You're right. There is no real fool proof way to do Flash-PHP communication. The best way is with encryption. And you're right, even that can be cracked by decompiling the swf file. So you're not going to be creating the next online banking application in Flash, but for most things, it's good enough. Most people aren't going to take the time to rip apart your program and decipher your encryption algorithm, unless there are great rewards because of it.

  3. #3
    Member
    Join Date
    Sep 2007
    Posts
    47
    how can you encrypt a password in flash ? that's something I am interested in too..

  4. #4
    Junior Member
    Join Date
    Jul 2007
    Posts
    10
    You can use MD5 - plenty of classes out there that implement it
    Xiotex Studios Ltd
    www.xiotex.com

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