News for hackers. Stuff that matters.
Re:Screeps – the world's first MMO sandbox strategy game for... by metabrew on Thursday November 13, 2014 @11:39AM (#8602443)
would love to know how you sandbox and isolate the user-uploaded JS that runs serverside. how do you manage to do that safely? how protected is it against malicious js?
Re:Screeps – the world's first MMO sandbox strategy game for... by artchiv on Thursday November 13, 2014 @12:02PM (#8602578)
Every user script is run in isolated nodejs forked process with disabled global vars and with a limit for CPU time and memory used.