Adding a Reference Table
This topic describes how to create a reference table to batch configure protection metrics of a single type, such as Path, User Agent, IP, Params, Cookie, Referer, and Header. A reference table can be referenced by CC attack protection rules and precise protection rules. A reference table protection rule is valid for all protected domain names.
If you have enabled enterprise projects, you can select your enterprise project from the Enterprise Project drop-down list and add protection policies for the domain names in the project.
Prerequisites
A website has been added to WAF.
Specification Limitations
This function is not available in the detection and standard (former professional edition).
Application Scenarios
You can use a reference table when you configure protection fields in batches for CC attack protection rules and precise access protection rules.
Procedure
- Log in to the management console.
- Go to the protection policy configuration page by following the steps shown in Figure 1.
- In the CC Attack Protection or Precise Protection area, click Customize Rule.
- Click Reference Table Management in the upper left corner of the list.
- On the Reference Table Management page, click Add Reference Table.
- In the Add Reference Table dialog box, specify the parameters by referring to Table 1. Figure 2 shows an example.
Table 1 Parameter description Parameter
Description
Example Value
Name
Customizable table name
waf
Type
- Path: A URL to be protected, excluding a domain name
- User Agent: A user agent of the scanner to be protected
- IP: An IP address of the visitor to be protected. IPv4 and IPv6 addresses are supported.
- IPv4 address, such as 192.168.1.1
- IPv6 address, such as 1050:0:0:0:5:600:300c:326b
NOTICE:IPv6 protection is available in the professional (former enterprise) and platinum (former premium) editions only. Currently, IPv4/IPv6 dual stack and NAT64 are supported only in East China and North China regions.
- Params: A request parameter to be protected
- Cookie: A small piece of data to identify web visitors
- Referer: A user-defined request resource
For example, if the protected path is /admin/xxx and you do not want visitors to be able to access it from www.test.com, set Value to http://www.test.com.
- Header: A user-defined HTTP header
Path
Value
Value of the corresponding Type. Wildcards are not allowed.
NOTE:Click Add to add more than one value.
/buy/phone/
- Click OK. You can then view the added reference table in the reference table list.
Other Operations
- To modify a reference table, click Modify in the row containing the reference table.
- To delete a reference table, click Delete in the row containing the reference table.
Last Article: Configuring a Precise Protection Rule
Next Article: Configuring an IP Address Blacklist or Whitelist Rule


Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.