Help Center> Web Application Firewall> FAQ> About WAF> WAF Functions> What Are the Differences Between WAF and CFW?

What Are the Differences Between WAF and CFW?

Web Application Firewall (WAF) keeps web services stable and secure. It examines all HTTP and HTTPS requests to detect and block the following attacks: Structured Query Language (SQL) injection, cross-site scripting (XSS), web shells, command and code injections, file inclusion, sensitive file access, third-party vulnerability exploits, Challenge Collapsar (CC) attacks, malicious crawlers, and cross-site request forgery (CSRF).

Table 1 Differences between WAF and CFW

Category

WAF

CFW

Protection mechanism

WAF works as a reverse proxy between the client and the origin server. All website access requests are forwarded to WAF first. WAF detects and filters out malicious attack traffic, and returns normal traffic to the origin server to ensure that the origin server is secure, stable, and available.

CFW is a cloud native SaaS service that can automatically check the security of public network assets and internal assets.

Protected objects

WAF offers the cloud, dedicated, and ELB mode to protect websites. You can add either domain names or IP addresses to WAF. Before you start, get familiar with the following differences:
  • Cloud mode: protects your web applications on HUAWEI CLOUD, other cloud platforms, or on-premises data centers through domain names.
  • Dedicated or ELB mode: protects your web applications on HUAWEI CLOUD through domain names or IP addresses.

Protection for Internet border and VPC border

Functions

WAF identifies and blocks a wide range of suspicious attacks, such as Structure Query Language (SQL) injections, cross-site scripting (XSS) attacks, web shell upload, command or code injections, file inclusion, unauthorized sensitive file access, third-party vulnerability exploits, Challenge Collapsar (CC) attacks, malicious crawlers, and cross-site request forgery (CSRF).

Traffic analysis and log audit

For details, see Cloud Firewall User Guide.