Inhibiting virus adsorption and invasion