Restricting execution of the tcl script to a folder or below



Hi Folks,

I am thinking of using tcl to build an application that will

a. receive a tcl script over the network in a folder allocated to a
particular sender

b. execute the script from this folder

c. return the result back to the sender

Now I can see a lot of resources to setup the communication. What I do
not know is how can I prevent accidental or rogue script from causing
damage to the files outside of the folder from which it is supposed to
execute. Is this even possible? Any pointers would be greatly
appreciated.

TIA

.



Relevant Pages

  • RE: Code to open multiple files from within a folder
    ... I'm having problems with this script below. ... will open multiple files from within a folder. ... If .Execute()> 0 Then ...
    (microsoft.public.excel.programming)
  • Code to open multiple files from within a folder
    ... I'm having problems with this script below. ... will open multiple files from within a folder. ... If .Execute()> 0 Then ...
    (microsoft.public.excel.programming)
  • Re: Startup Script from AD policy
    ... > the script so I can access it. ... > executable on the NETLOGON folder. ... > putting the executable under a shared folder with read/write permissions ... > How can I force the workstations to execute this remote file? ...
    (microsoft.public.windows.server.scripting)
  • Script to run rules
    ... I am wondering if it is possible to have a script select all of the read ... messages in a folder and then execute a rule? ... I want to schedule this to happen daily, to back up files on the server that ...
    (microsoft.public.mac.office.entourage)
  • TCL: executable, SIGINT
    ... I have prepared a tcl script which I would like to use as an executable ... user's path when he/she wants to execute the script and revert back to ... the original path after the script is exited, ...
    (comp.lang.tcl)