I mean even now, there is ITAR, which makes working on unauthorized technologies in foreign countries illegal.