Well actually... you can create a magnetic shield in front of the planet by putting a large nuclear reactor powered superconducting magnet at the Sun-Mars L1 point that would fully shield Mars from charged particles from the sun. No new technology is required besides making the thing relatively maintenance free. https://phys.org/news/2017-03-nasa-magnetic-shield-mars-atmo...