on a need-to-know basis
US /ɒn ə niːd tə noʊ ˈbeɪsɪs/
UK /ɒn ə niːd tə noʊ ˈbeɪsɪs/

1.
only telling people information that they need to know and not telling them anything else
:
•
Access to the confidential files is strictly on a need-to-know basis.
•
We'll share information with you on a need-to-know basis as the project progresses.