Fork or Clone with selected files

I am facing a situation, where I have an application with several sources in a master repository, it happens that eventually I will need service providers to access a repository with selected files, and without permission to view / edit the master, how can I solve this situation ?

Unfortunately it’s not possible to set different permissions for only parts of a repository, sorry!

If someone has read access to the repository, that will include all branches.