How do I give permission to access my private ipfs network?

i have created a private IPFS network and i want to give some devices from outside
Permissions to Access the network. How can I achieve this
i want to make it like decentralized storage platform,
. Can I use private gateway to achieve what
Will it keep my data private from the public?
I want the network to be available only to those who choose
I am new in this field, I have no experience
I would really be grateful if someone could help me

The “Remote Pinning Service” API might be what you’re wanting to either use or implement. It allows an API Key to be used to control access, for doing simple CRUD-like operations on IPFS files.