That is more difficult than it sounds, but there are a couple of principles that are helpful: one is to ensure that the law allows for fast and co-ordinated responses; another is to ensure that, in those responses, human rights concerns are recognised as effective limitations on what the state may do.