Novel polysaccharides that are effective in treatment and prevention of viral infections. These compounds are mimics of heparan sulfates present in cells. They act as decoy trap preventing the virus from adhering to epithelial cells, thus slowing down the process of infection.