What? A contractor usually will sign a contract and intellectual property agreements to their name, it's obviously not their right to share company information with a third party.
Subcontracting is not against the rules unless the contract specifically says so. Your job as the prime contractor is to manage the subcontractors so that means IP and privacy concerns etc... Houses are built by subs for example. Defense software is built by subs.