Perhaps better materials could be developed which reflect radiation or somehow are so dense that radiation can't get through, even gamma radiation. We would also need that material to be super strong, in resisting an impact from mini-asteroids. But then, there will always be bigger asteroids. We develop some form of early detection against them, so that we can move out of the way if we need to. Space Habitats orbiting Earth.
Space habitats on the moon.
Habitats on mars. Perhaps better materials could be developed which reflect radiation or somehow are so dense that radiation can't get through, even gamma radiation.