Page 1 of 1
Basic Packet Encryptation
Posted: 18 Feb 2008, 15:14
by frosttec
I'm worry with my apps because i have sniffed the xml packets and its realy easy to use reversed enginery.is it possible to create a automatic encryptation of this packets?
Posted: 19 Feb 2008, 17:31
by Lapo
You can capture your own packets thats okay but how are you going to capture mine, or those of another users and alter them?

That's really very difficult because each connection is unique and persistent for each session.
Anyways, you can use the raw protocol from server side and use a less intelligible format if you need it.
You could also use binary data and real encryption by following the lines of this tutorial ->
http://www.smartfoxserver.com/docs/docP ... /index.htm
For more details about security check this article ->
http://www.smartfoxserver.com/docs/docP ... mmo_p2.htm
(scroll down a bit)
Posted: 19 Feb 2008, 17:31
by Lapo
p.s. = Btw, encryption will be part of the next major SFS release
Posted: 24 Feb 2008, 13:47
by frosttec
thx lapo for the asnwers
Posted: 30 Jul 2008, 20:35
by ptdgames
Excellente on the upcoming encryption. My major worry is that people will spoof packets on the way to the server.
Of course, it's so easy to simply decompile a SWF these days that I'm not sure if encrypting the packets will do much.

Posted: 02 Sep 2008, 20:51
by ptdgames
Even if you encrypt the packet, somebody is going to decompile your SWF and get the encryption codes.
Keep this in mind, you'll only be keeping the "average guy" honest. The cheater is still going to cheat you.