Fighting Crime and Terrorism in the Age of Technology