Web Application Firewall (WAF)

A web application firewall (WAF) is an appliance, server plugin, or filter that applies a set of rules to an HTTP conversation.

Generally, these rules cover common attacks such as cross-site scripting (XSS) and SQL injection.

By customizing the rules to your application, many attacks can be identified and blocked.

The effort to perform this customization can be significant and needs to be maintained as the application is modified.


References

http://en.wikipedia.org/wiki/Application_firewall

https://en.wikipedia.org/wiki/Web_Application_Security

https://en.wikipedia.org/wiki/ModSecurity

https://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard

https://en.wikipedia.org/wiki/Imperva