Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > "Verifying" Network Data

"Verifying" Network Data
Thread Tools
Ghoser777
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Sep 21, 2005, 08:32 PM
 
For a fun project at my school, I'm having my students write games in Java that use sockets to send high score data to my server at home. Everything is working great (the sent data is even encrypted!), but then I realized there was one big problem - decompiling and recompiling. It would be trivial for someone to take someone's game, decompile it, and recompile it so that it sends scores that are orders of magnitude larger than they should be. So now I'm stumped on how to get around this. I guess this analogous to how Gaim and the like are about reverse engineer the AIM messaging protocol.

I've read about encrypting the byte code and using a custom class loader and obfuscation, but neither seem to be good solutions. Do I have to make everything server side (and even then, it seems like someone could still figure out how to spoof the server...)
     
larkost
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Sep 21, 2005, 09:20 PM
 
There is no easy answer, just look at the wars surrounding the MMORPG's.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:07 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,