Enforcing security in military systems