How would one go with opening a new window with disabled node.js functionality, something like:
window.open('my.html', '_blank', 'screenX=0,screenY=0,width=100,height=100','nodejs:false');
I would like to allow users of my app to open new windows with their (or other users) custom html code, but i don't want newly opened windows to have access to node.js stuff.
This is mainly a security concern for me, because if i cannot disable node in a new window, some user might use access to fs module to wipe out whole disk, or etc.(Am i wrong? is this actually an issue?)
So, to be more clear: main window should have access to the node.js modules, but other windows it "spawns" should have node.js disabled...
Thanks in advance for any help,
Cheers!