The Principle of Least Knowledge requires that:
-
Client callers making requests know only the calling interface.
-
Service responders know nothing of the caller beyond the contents of the request.
The requestors and respondors may be instances of classes, packages, levels in a tier,
or machines in a network or across the internet.