Could Solar Storms Destroy Civilization?

Solar Flares & Coronal Mass Ejections

The sun. Smooth and round and peaceful. Except when it suddenly vomits radiation and plasma in random directions. These solar flares and coronal mass ejections, or CMEs can hit earth and have serious consequences for humanity. How exactly do they work, how bad could they be and can we prepare for them?

Some related articles from SRC

Faraday Cages: Making one and how your microwave can help
Starfish Prime, EMPs, NEMPs and HEMPs explained
What does it take to Survive an Electromagnetic Pulse?