It's my understanding that you would need a very thick layer of metal to actually protect a device. Generally, lead works, but the thickness required would mean that your device would be extremely heavy. However, like you said, this isn't a problem for ground applications.
Also, apparently water works well too.
This is all honestly beyond my knowledge though. Our customers do their own qualification since these are COTS devices, so any failures may be handled on their end by making separate enclosures or using another vendor's system as a backup. They haven't actually asked us to implement any software based risk mitigation, but I investigated it on my own.
BTW thank you for excellent information in your comment.
I believe most of the studies were conducted by NASA, so incorporating that into a search should help.
Some experiments have used 2000 year old Roman lead to avoid this http://www.nature.com/news/2010/100415/full/news.2010.186.ht...
1) You'd need a lot of lead to totally shield the equipment, like meters thick. Of course partial shielding reduces the radiation load but unless you can lower it to a negligible amount, you still need to have radiation tolerant code.
2) We generally want to minimize the amount of material in a particle detector, especially at layers nearest the collisions (where radiation is most intense). These inner layers (called trackers) are used to track light charged particles, while the outer layers (called calorimeters) are used to absorb and measure energy. So we need less material throughout to ensure we get good energy measurements by the time particles get to the calorimeter.
In addition to using radiation hardened components, a lot of this is mitigated by doing as little computation as possible on the front-end readout electronics. Most of it is switched capacitor arrays, asics, and the occasional FPGA, which can be made fairly reliable since they're basically just responding to clock signals and measuring voltage (or something), and buffering these measurements. The raw data is then piped away from the detector at absurd bitrates to another part of the cavern (called the "counting room") that is much less radioactive and has lots of standard computers/electronics to do further processing.