Threat-Constrained Manufacturing Systems