Viral resistance mechanisms