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, and the vehicle is an aqueous solution.