Compartmentalize your company. Make sure people from one compartment are unaware about things people from other compartments are doing. Don't transfer/hire across compartment boundaries.
You don't need to deliberately create silos in order to secure a project. We've had people working on top secret projects and while people may not have known the specifics the company was kept up to date on the progress and outcomes of the project. We brought people in from other teams after an extra vetting process and additional NDA specific to that project.