Polysaccharides, mimics of heparan sulfates present in cells, that are effective in treatment and prevention of viral infections. They act as a decoy trap to prevent the virus from adhering to epithelial cells, thus slowing down the process of infection, and by directly inactivating the viral particles.