The radiation absorbed by astronauts during interplanetary flights is mainly due to cosmic rays of solar origin (SCR). In the most powerful solar flares the dose absorbed in few hours can exceed that cumulated in one year of exposition to the galactic component of cosmic rays (GCR). At energies above the minimum one needed to cross the walls of the spaceship there are extrapolations and guesses, but no data, on the angular distribution of SCR's, an information that is necessary for establishing whatever defence strategy. It was therefore proposed of sending to Mars a measurement device, that should continuously collect data during the travel, and possibly also in the orbit around Mars and on the Mars surface. The device should identify the particle and privilege the completeness in the measurement of its parameters. In fact the high energy electrons travel at speed of the light and could be used in the and future dangerous proton component. Also the much less abundant but individually more dangerous ions should be identified. The device should indeed include a magnetic spectrometer and a high granularity range telescope, and a good time of flight measurement. ASI is supporting an assessment study of a possible mission of such a device on board of the 2005 probe to Mars. A parallel technical study is also in progress to define the workable techniques and the possible configurations of a system of magnetic lenses for protecting the crew of a spaceship.