Help Center> Web Application Firewall> User Guide> Policy Management> Applying a Policy to Your Website

Applying a Policy to Your Website

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

If you have enabled enterprise projects, you can select your enterprise project from the Enterprise Project drop-down list and add protection rules in batches to the project.

Prerequisites

You have selected Cloud mode or Dedicated mode for website deployment.

Specification Limitations

This function is unavailable in the detection and standard (former professional) editions.

Procedure

  1. Log in to the management console.
  2. Go to the Policies page by following the steps shown in Figure 1.

    Figure 1 Access to the Policies page

  3. In the row containing the policy you want to apply to a website, click Add Domain Name in the Operation column.
  4. Select one or more domain names from the Domain Name drop-down list. Figure 2 shows an example.

    • 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.
    Figure 2 Selecting one or more domain names

  5. Click OK. If Domain name added successfully is displayed in the upper right corner of the page, the policy is applied to the selected domain names.