What about white listing? All programs on a list run, everything else does not.
You couldn't have anything resembling a shell!
What about white listing? All programs on a list run, everything else does not.