Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uninett/nswf
Nodejs Sandbox With external File
https://github.com/uninett/nswf
Last synced: about 1 month ago
JSON representation
Nodejs Sandbox With external File
- Host: GitHub
- URL: https://github.com/uninett/nswf
- Owner: Uninett
- Created: 2012-08-10T12:01:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-10T12:19:35.000Z (over 12 years ago)
- Last Synced: 2023-04-19T22:23:26.670Z (over 1 year ago)
- Language: JavaScript
- Size: 89.8 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
This project tries to change the node.js sandbox-module to allow sandboxed code access to some predefined code from the global context.
Instructions:
After installing nodejs and running "npm install sandbox" in the appropriate directory from the Node.js command propt, replace lib/shovel.js and example/example.js with the files from the files-directory, and copy external.js to the lib-directory. Run "node example.js" from the example-directory for an example.Add code to externalCode in external.js to give sandboxed code access.