The assault on Paris by the Islamic State in Iraq and the Levant (ISIL) on Nov. 13 was an attack on life's innocent pleasures. The terrorists shot anyone who strayed into their gunsights — ordinary mecs out for a gig, sharing a drink or watching a football friendly. It could have been any big city. It could have been you.
The deadly grasp of ISIL now reaches far from its base in Syria and Iraq. Paris, scarred by jihadist violence only 10 months ago, had become a city whose world-class intelligence service was on high alert — and still ISIL got through to maim and kill.
Plainly and tragically, the world needs to build stronger defenses. The question is how?
First, know thy enemy.
ISIL bases its terrorism on a vicious calculation. It believes that successful attacks will inspire the would-be Muslim radicals that it is trying to recruit. But it also wants to provoke a backlash in order to convince those same radicals that the world despises them and their religion. In February, ISIL propaganda described a "gray zone" in which some Muslims' loyalty is divided between radical Islam and a country where they do not feel that they completely belong. ISIL wants terrorism to drive Muslims out of this gray zone and into the black-robed embrace of the caliphate.
The response must be just as calculating. Leading the mourning after the attack, Francois Hollande, France's president, vowed to destroy ISIL. That is a worthy aim, but a partial one, because other jihadist groups with equally murderous intent will thrive in the violent crevices of the Middle East. The struggle will be long. Countries therefore need policies that they can sustain even as the Middle East remains turbulent and as, inevitably, the terrorists sometimes get through.
Remember that the West has two things to defend: the lives of its citizens, and the liberal values of tolerance and the rule of law that underpin its society. Where these are in conflict, it should choose policies that minimize the damage to values in order to make large gains in protection. Sadly, in the scramble for security, that principle often seems to be the first thing to go.
The starting point for a safer world is at home, with the right legal powers. Jihadists are often radicalized online, in small groups. They communicate electronically. When they travel, they leave a trail. The intelligence services need controlled access to these data. Terrorists thrive on secrecy, yet the security services may abuse their powers. The solution is a legal framework subject to political and judicial scrutiny.