counterintelligence

the use of various devices, as codes, censorship, etc., to prevent an enemy obtaining information.