antiviral immunity

an·ti·vi·ral im·mu·ni·ty

immunity resulting from virus infection, either naturally acquired or produced by intentional vaccination; compared with some bacterial immunities, it is of relatively long duration, but this may be the result of infection-immunity rather than being peculiar to virus infection per se, because it occurs also in bacterial immunity after infections such as typhoid fever.