I've been reading about the definition of the sandbox pattern and reading one answer given hereone answer given here. In the idea of a real world sandbox, it wasn't made only to prevent the children from leaving it, but also to prevent unwanted visitors from entering it.
What is the name of the pattern for this second situation? Where the software runs in a controlled space to prevent outsiders from interfering.