I would like to allow users to execute scripts on my server. I want to make it as safe as possible (yes i know i shouldn't allow it but..) . The only possibility I can think of is regex'ing the file for certain functions but this seems kind of hit or miss. Is there anyway to stop any actions it would do on the system? Besides opening and closing 2 certain files?