Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Any idea how he did it, if so how can I stop it? I recently heard there was Jailbreak API from Apple but I think they discontinued it. I already have anti-piracy code in my app so this is the last step before I am clean from any hackers out there.
probably intercept the call (probably http) with the score, and change it.
i don't think that you can do much. apple need to implement some encryption method, so that user can't modify highscore on the fly changing just a string.
This is in fact the best way. If you go onto iCodeBlog, they have a leaderboard tutorial which allows you to provide a secret string which will stop the user editing it's highscore:
dany88;287560 said:
probably intercept the call (probably http) with the score, and change it.
i don't think that you can do much. apple need to implement some encryption method, so that user can't modify highscore on the fly changing just a string.
This is in fact the best way. If you go onto iCodeBlog, they have a leaderboard tutorial which allows you to provide a secret string which will stop the user editing it's highscore:
Correct, I didn't read through the tutorial, I just implemented it by myself, double check that you have changed the string "some_secret" in page 2 and 4 to whatever you want the 'secret passcode' to be.
edit--------------
if you know some html you might wanna change the get_scores.php html code to make it look nicer...
While that tutorial is a start I still think that's pretty shoddy security, anyone watching the connection stream (eg. by placing a logging computer between their wireless access point and internet connection) would get the "secret" as it's just plain text placed in the url.
A better idea would be to use some sort of hash combining the secret with the username and score and sending that, and the receiving webserver can create the same hash to see if they match. Better yet would be to encrypt the whole message with PGP or similar, but that may be going a bit overboard for a game leader board.
as i said, what you should implement is just encrypt (With a secret key that is not shared) the score, so that it can be changed only if you know how to encrypt it.
as i said, what you should implement is just encrypt (With a secret key that is not shared) the score, so that it can be changed only if you know how to encrypt it.
Alright so I should convert my int into an NSString, then encrypt it, then how would I decrypt it so the code knows what the int is so I can upload it but still in a secure way?
basically you need to convert int to string and encrypt it (with a secret key, using 1 enctrypt method), send to your server to a script (php?) that decript it (because it know the secret key)
basically you need to convert int to string and encrypt it (with a secret key, using 1 enctrypt method), send to your server to a script (php?) that decript it (because it know the secret key)
Oh theres no way of doing it without php? I want to stick with the device only
No what I am saying is, can I do this without any server or outside data needed?
You need to have the data somewhere if you want other users to share data with each other (like on a leaderboard). That's why you need a server with eg. PHP and MySQL installed.
You need to have the data somewhere if you want other users to share data with each other (like on a leaderboard). That's why you need a server with eg. PHP and MySQL installed.
No i think you got confused. I want to have an encrypted int so the game center leaderboards cannot be hacked like I said in the 1st post. So I want to do this on the device only without using php or any other outside servers.
No i think you got confused. I want to have an encrypted int so the game center leaderboards cannot be hacked like I said in the 1st post. So I want to do this on the device only without using php or any other outside servers.
Replies
i don't think that you can do much. apple need to implement some encryption method, so that user can't modify highscore on the fly changing just a string.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeCheck out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesomeedit--------------
if you know some html you might wanna change the get_scores.php html code to make it look nicer...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeA better idea would be to use some sort of hash combining the secret with the username and score and sending that, and the receiving webserver can create the same hash to see if they match. Better yet would be to encrypt the whole message with PGP or similar, but that may be going a bit overboard for a game leader board.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeCheck out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeCheck out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeCheck out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeCheck out my OCR app!
http://itunes.apple.com/app/ocr-pro/id486512712?mt=8
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesomehttp://www.saobart.com/md5-has-in-objective-c/
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome