Resisting penetration by liquids and gases