Click to See Complete Forum and Search --> : Flash to PHP security
XiotexStudios
09-30-2007, 05:21 PM
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.
MyFriendIsATaco
09-30-2007, 08:19 PM
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.
FM_Flame
10-01-2007, 07:43 AM
how can you encrypt a password in flash ? that's something I am interested in too..
XiotexStudios
10-01-2007, 08:27 AM
You can use MD5 - plenty of classes out there that implement it
flashkit.com
Copyright Internet.com Inc., All Rights Reserved.