How to Defeat Terrorism, offered not as a practical guide but as a demonstration that it cannot be done:
The measures and policies that would need to be put in place are so obvious that the failure to implement them is nothing but a sign of lethal complacency and moral cowardice. What are these measures? The list is not unduly long and, as I say, entirely obvious.
You can go to the link to find out what needs to be done which consists of a list of actions that will not be done. We no longer have a religion of our own which makes taking such steps all the more unlikely.