node.js - Limit scope in Node JS -


i want let users create custom plugins 1 of apps programmed in node js.

i thought of using method similar dynamic libraries, using node modules. problem don't want users able harmful things making inappropriate use of network or accessing file system.

is there way can limit node native api specific module?

i doubt there real defense if grant code execution level access server. @ best, in arms race trying plug holes discovered.

if want allow customers expand functionality of product, should develop api customer products interface with. way, there limited attack surface area , can control access points application.


Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -