Certain types of gut bacteria could ward off food allergies, according to a new study in mice.