The five main types are network security, application security, information security, endpoint security, and cloud security.