Bain Capital Private Equity and Crosspoint Capital Partners are buying a security solution that could be useful as more companies find themselves with some assets on-site and some in the cloud.