Public Usage with Internal Customers

Everyone,

Is there away to setup NextCloud to be self-serving to the outside, but only share files with internal users only?

I have version 15 setup and working great for internal users, but I would like away to get external users to be able to make their own accounts and only share files with internal users only. Is this possible?

Thanks.