The following suggests that this is a possible idea to protect crew on interstellar space flight: Is NASA doing research on "mini-magnetospheres" to protect crew from radiation in space?
The strength of the Earth's magnetic field is 25-65 micro-Teslas at the surface according to wikipedia, but it is projected across the entire planet, so requires a lot of energy to create.
My hypothesis is that creating a similar magnetic field over a smaller craft, even just for the crew quarters, would require far less energy, and possibly be able to be created by extending solar panels during flight. Would this be enough to protect a craft during interplanetary flight from the radiation of the Sun?
I ask this also because another question was answered suggesting that you'd need a much weaker field at the source: How much power would a spacecraft's magnetic shield require?
Of course, this is at the source and not the surface of the craft, but by my estimation a 0.1 Tesla field at the source would be .0000001 tesla or only 1 micro tesla at 100 meters away. I would have thought it to be 2.5 Tesla at the source for proper protection.
How powerful should it actually be to get the same protection that we have on Earth, and how much power would that take to produce on a craft? Could it be solar powered?