Researchers say they have found a way to resist the spread of a disease threatening forests.