A firewall may be a component in a computer network or a part of a computer system created to regulate access, preventing unauthorized users or enabling configurations for authorized communications. Firewalls are considered as the primary method for securing computers against intruders.