Definition
A firewall is a hardware or software control that allows or blocks network traffic according to security rules. Network firewalls filter by address and port, while a web application firewall (WAF) inspects web requests to block attacks such as SQL injection.
Detailed Explanation
A firewall is one layer in defence in depth. It does not stop phishing or a stolen password, so it works alongside patching, authentication and monitoring.
Nepal Context
Many Nepali hosting plans include basic firewalls, and CDN services offer WAF rules that small merchants can switch on cheaply.
Key Takeaways
- Rule-based traffic filtering.
- WAFs protect web applications specifically.
- One layer among several.


