I haven't quite decided if I'm going to use a linux or windows-based server yet, so I'm looking for solutions for either OS.
I found this Sandboxie which lets you run your windows programs in a sandbox, but I don't know if I can programmatically create a sandbox and run a program in there, and then destroy it.
Do these sites create one big sandbox for all the programs to run in, or do you think they create a new sandbox for each execution? Or do they do something entirely different?
What I want to do is actually run one program (that I wrote, so I know is reasonably safe) which in turn runs two other user-written programs (potentially unsafe). I figure I should just stuff all 3 processes into one sandbox. Then I just need to capture some output and insert it into my database, and then I can delete the sandbox.
So, how do I approach this problem?