Ok, thanks vigge_sWe.
Maybe I need something else, how about PHP? Does PHP have good security?
maybe I could pass some numbers over to a PHP file ...hmm...
there must be some why that the big games are doing it, like travian, thats just javascript and PHP.