|
-
Mar 21st, 2010, 11:13 AM
#1
Thread Starter
Member
[RESOLVED] Secure data transfer?
Hi,
So I'm trying to make an online game with PHP, and I want to add a highscores feature into it. To do this, I need to keep track of the players score..
Like
$myscore starts as zero, then continuously adds 1 point until it's big enough for the highscores.
My question is, how can I transfer the $myscore data from one page to another without the player being able to intercept the transfer and edit their score to hack the game?
E.G, if I put it in a GET form, they can just edit it in the URL..
If I put it in the POST form, they can use tamper data..
If I recode the game in javascript, they can edit the javascript with firebug..
If I recode the game in Java, they can download the .jar file and edit the source code with notepad.
So what can I do?
TL;DR: What's the safest way to transfer data in PHP without interception?
The following statements are true. The following statement is false. The first statement is true.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|