How to prevent other nations from influencing your election