My company is trying to develop a solution within Sharepoint for sharing documents across similar departments of different companies.
The requirement is that there is a store of documents that each companies department, for this example marketing, can upload to. Each document would be tagged with the uploading users company and a flag allowing it to be public. The idea is that users should be able to see a.) Files that are marked as their company and b.) files that are marked public.
The ideal solution would be that there is some way to do this within the Document Library itself. The original idea would have been by using Audience Settings, but it doesn't appear as though this is how Audiences work.
The less ideal solution that still might work, would be to give them all their own library specific to their company, and do some work behind the scenes to maintain a separate list that everyone has access to that would contain all the shared files (so everyone would have access to their own list of files for their own company, and another with all shared files across all companies).
Has anyone tried to implement a document library with similar requirements and would be able to point me towards a 'best practices' way towards doing this or some resources on ways this could be accomplished?