The most secure type of firewall is a stateful inspection firewall. It is a type of firewall that examines the state of all incoming and outgoing packets, as well as the source and destination of the packets, to ensure that only authorized traffic is allowed through. An example of a stateful inspection firewall is the Cisco ASA (Adaptive Security Appliance).