The skin is part of the first line of defense against infection.
Secretions from sebaceous (oil) and sweat glands provide an acidic environment with a pH between 3 and 5 to prevent colonization of many microbes.
Proteins such as lysozyme digest the cell walls of many bacteria.