Viral infections of the eye, and particularly viral infections in the Herpesviridae and Adenoviridae families, can be treated by administration of a pharmaceutical made up of an enzymatically active ribonuclease and a vehicle. Advantageously, the enzymatically active ribonuclease is ranpirnase, the '805 variant, rAmphinase 2, and Amphinase 2, and the vehicle is an aqueous solution.