This lecture consider briefly how the role of firewalls in network security has evolved. It also explores how TLS provides confidentiality, integrity and authenticity in the transport layer, and it discusses some of the problems discovered in TLS implementations. Finally, it considers how IPSec provides similar benefits to TLS, but in the Internet layer.