Updated on 2024-04-12 GMT+08:00

Applying a Policy to Your Website

This topic describes how to apply a policy to your protected website.

Prerequisites

A website has been added to WAF.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner and choose Web Application Firewall under Security & Compliance.
  4. In the navigation pane on the left, choose Policies.
  5. In the row containing the policy you want to apply to a website, click Add Domain Name in the Operation column.
  6. Select one or more domain names from the Domain Name drop-down list.

    • A protected domain name can use only one policy, but one policy can be applied to multiple domain names.
    • To delete a policy that has been applied to domain names, add these domain names to other policies first. Then, click Delete in the Operation column of the policy you want to delete.

  7. Click Confirm.