There are things that can be done, but there is no magic bullet, and therefore it's a case of hardening rather than solving this problem. The trouble with that is it's the weakest link that gets you every time, and it's very hard in advance to decide from what direction you might be attacked.
Although lots of countries are aware of the problem and they're trying to do something about it, not much optimism is really out there.