1

I've been reading about the definition of the sandbox pattern and reading one 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.

2
  • I'm not sure what you are referring too. Are you talking about the chroot or sandboxing programming languages?
    – BigBob1000
    Commented Aug 19, 2014 at 10:31
  • @BigBob1000, the OP is talking about the concept of sandboxing. He's asking the name of a security pattern, namely, "Where the software runs in a controlled space to prevent outsiders from interfering." Commented Aug 19, 2014 at 10:35

2 Answers 2

1

This "preventing outsiders from interfering" is achieved by sandboxing the outsiders, too. When everyone can't leave their sandbox, no one can enter their neighbour's sandbox. Ideally, the code that maintains the sandboxes is as lean as possible, to reduce the number of "outsiders that can interfere" as much as possible.

0

"Filtering" is a generic term for controlling what inputs that reach a piece of code.

A "firewall" is a membrane around a resource that filters inputs.

If you surround your sandbox with metal detectors to allow guests without metal weapons from entering the sandbox, and also erect a firewall so that the only way anyone can enter the sandbox is via the metal detectors, then you've filtered out metal weapons from the set of objects that can reach the sandbox.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .