In computer coding information can be in or out of scope. Scope is the information that a function has available to it, that it can access.
I believe the term is used fairly widely, e.g., some undesirable conduct may be outside the scope of a contract, meaning the contract doesn't limit or reject it.
Further out, I believe it is from a Greek-then-Latin root related to vision (telescope, microscope).
For both storage scopes and contact scopes an app's ability to even be aware of certain information is being controlled. As mentioned, computer languages generally control variable and code scope. But the term is much more general.