IPSec is a collection of protocols that provide security at the network layer, including authentication and encryption of IP packets. It has two modes, transport and tunnel, and two security protocols: the Authentication Header (AH) and Encapsulating Security Payload (ESP). The Internet Key Exchange (IKE) protocol is used to establish Security Associations (SAs) between hosts to define encryption keys and algorithms. At the transport layer, the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols provide data security and server authentication over TCP. Application layer protocols like PGP and S/MIME can be used to encrypt and authenticate email messages. Firewalls filter network traffic between internal and external networks and can operate at the