Web security focuses on protecting websites and web applications from attacks. Websites face threats like SQL Injection, Cross-Site Scripting (XSS), and account hijacking.
Common web security measures include secure login systems, input validation, HTTPS encryption, and firewalls.