In the wake of car- and truck-based attacks around the world, most recently in New York City, cities are scrambling to protect busy pedestrian areas and popular events. It’s extremely difficult to prevent vehicles from being used as weapons, but technology can help.