Shared Tables Domains

I am sharing the vendor table (and others off it) between two companies. What happens if I want these companies to exist in different domains, and i give one set of users access to both domains and another set of users access to only one domain. what happens in terms of visibility to the data in shared co or is it unaffected?