Updated on 2024-10-31 GMT+08:00

Creating a Protection Policy

A policy is a combination of rules, such as basic web protection, blacklist, whitelist, and precise protection rules. A policy can be applied to multiple domain names, but only one policy can be used for a domain name. This section describes how to add a protection policy.

Constraints

  • A protected domain name can use only one policy.
  • A maximum of 3,000 protection policies can be added.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Content Delivery & Edge Computing > CDN and Security.
  3. In the navigation pane on the left, choose Edge Security > Policies. The My Policies tab page is displayed.
  4. In the upper left corner, click Add Policy.

    Figure 1 Adding a protection policy

  5. In the dialog box that is displayed, enter a policy name and click confirm.

    Figure 2 Add Policy

  6. The added policy is displayed in the policy list.
  7. In the Policy Name column, click the policy name. On the displayed page, add rules to the policy by referring to Configuring Protection Rules.

Other Operations

  • To modify a policy name, click next to the policy name. In the dialog box displayed, enter a new policy name.
  • To delete a rule, click Delete in the Operation column.