How do You handle (malicious): - infinite (or very long) loops? - huge memory consumption?
On Thursday, January 17, 2013 1:24:58 AM UTC+4, Gustavo Machado wrote: > > Hello, > > We are building a platform that is oriented to developers in node.js, and > we are in the process of evaluating giving our users the ability to > configure validation and authorisation rules in Javascript. > > On virtually every request, these validation rules are going to be > executed, so it needs to be somewhat performant, but most importantly > "safe". And by safe I mean: > > - no require-ing > - no access to global > - any kind of attack that may give access to the local system (files, > network, etc) > > So far, we found the "sandbox" module: > https://github.com/gf3/sandbox/blob/master/example/example.js but are > looking for some other choices. > > Thanks, > Gustavo Machado > > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en