Protecting cities from cyber attacks