Help Center> Edge Security> User Guide> Security Protection> Protection Policy> Configuring Protection Policies> Creating a Reference Table to Configure Protection Metrics In Batches
Updated on 2024-05-27 GMT+08:00

Creating a Reference Table to Configure Protection Metrics In Batches

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.

Prerequisites

A protected website has been added. For details, see Adding a Website to EdgeSec.

Constraints

A maximum of 100 reference tables can be created.

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

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Security & Compliance > Edge Security.
  3. In the navigation pane on the left, choose Dashboard under Security Protection.
  4. In the navigation pane on the left, choose Website Settings.
  5. In the Policy column of the row containing the domain name, click the number to go to the Policies page.

    Figure 1 Website list

  6. In the CC Attack Protection or Precise Protection area, click Customize Rule.
  7. Click Reference Table Management in the upper left corner of the list.
  8. On the Reference Table Management page, click Add Reference Table.
  9. In the Add Reference Table dialog box, specify the parameters by referring to Table 1.

    Figure 2 Adding a reference table
    Table 1 Parameter description

    Parameter

    Description

    Example Value

    Name

    Table name you entered

    test

    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.
    • 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 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/

  10. Click Confirm. 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.