Limit Javascript script Internet access
<p>I have a webpage with a master script that connects, via AJAX, to a remote server and downloads unsecure JS scripts (let's call them slave scripts), to be executed lately on the client. I would like to limit the Internet access slave scripts have; e.g. they can communicate just with the remote server.</p>

<p>Do you have any idea of how can I achieve this?</p>

<p>Thanks,
Laurențiu Dascălu</p>
