JavaScript Games and Security -
let's i'm making html5 game using javascript , <canvas> varaibles stored in dom such level, exp, current_map, , like.
obviously, can edited client-side using firebug. have maximize security, hard edit (and cheat)?
don't store variables in dom if wish reasonable level of security. javascript, if obfuscated, can reverse engineered. defeats local encryption mechanisms.
store key variables server-side , use https maximize security. so, client code (javascript) quite vulnerable hacking.
Comments
Post a Comment