Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
metabrew
· 12y ago · 0 comments
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?
Comments
[–]
artchiv
12y ago
Every user script is run in isolated nodejs forked process with disabled global vars and with a limit for CPU time and memory used.