Like fire, technology can be both friend and foe.