Encode scripts strings
by Dan Keller · in Torque Game Engine · 07/25/2008 (8:59 am) · 3 replies
I'm using an online database to store high scores. To prevent cheating, the site is accessed only by the game itself and not end users. However, when I open the .dso with a text editor, the url is right at the top in a human-readable form. Is there a way to encode it so players can't see it?
By the way, is this a stupid idea?
By the way, is this a stupid idea?
About the author
Recent Threads
#2
a little bit.
that's a classic example of "security by obscurity".
ie, you're relying on the URL remaining a secret, which is very fragile design.
eventually, someone will decrypt your string, or find a copy of your source code, or Mata Hari will wring it out of you. it's best to design your software so that even if your complete source code is published on the internet, it's still a secure app.
of course, you can balance all that against the amount of interest you think there will be in hacking your app.
another option would be to leave the URL in the open,
but have an encrypted protocol. - again, probably still security by obscurity, but in essence you're trusting the client application here in the first place.
07/25/2008 (10:30 am)
> By the way, is this a stupid idea?a little bit.
that's a classic example of "security by obscurity".
ie, you're relying on the URL remaining a secret, which is very fragile design.
eventually, someone will decrypt your string, or find a copy of your source code, or Mata Hari will wring it out of you. it's best to design your software so that even if your complete source code is published on the internet, it's still a secure app.
of course, you can balance all that against the amount of interest you think there will be in hacking your app.
another option would be to leave the URL in the open,
but have an encrypted protocol. - again, probably still security by obscurity, but in essence you're trusting the client application here in the first place.
#3
I just don't want to make it too easy.
07/25/2008 (12:52 pm)
Quote:Not much.
of course, you can balance all that against the amount of interest you think there will be in hacking your app.
I just don't want to make it too easy.
Associate James Ford
Sickhead Games
Heres a recent resource I recall...