Software or a hardware device that protects one or more computers from being electronically attacked. It inspects data for security purposes and filters traffic based on network protocols and rules established by a networkadministrator. Firewalls operate at the application layer of the OSI model.