Configuring an Information Leakage Prevention Rule
You can add two types of information leakage prevention rules.
- Sensitive information filtering: prevents disclosure of sensitive information (such as ID numbers, phone numbers, and email addresses).
- Response code interception: blocks the specified HTTP status codes.
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.
Constraints
It takes several minutes for a new rule to take effect. After the rule takes effect, protection events triggered by the rule will be displayed on the Events page.
Specification Limitations
This function is unavailable in the detection and standard (former professional) editions, and WAF instances in ELB mode.
Procedure
- Log in to the management console.
- Go to the protection policy configuration page by following the steps shown in Figure 1.
- In the Information Leakage Prevention configuration area, change Status if needed and click Customize Rule. Figure 2 shows an example.
- In the upper left corner of the Information Leakage Prevention page, click Add Rule.
- In the dialog box displayed, add an information leakage prevention rule by referring to Table 1. Figure 3 and Figure 4 show two examples.
Information leakage prevention rules prevent sensitive information (such as ID numbers, phone numbers, and email addresses) from being disclosed. This type of rule can also block specified HTTP status codes.
sensitive information filtering: Configure rules to filter out sensitive information, such as phone numbers and ID numbers, from web pages. For example, you can set the following protection rules to filter out sensitive information, such as ID numbers, phone numbers, and email addresses:response code interception: An error page of a specific HTTP response code may contain sensitive information. You can configure rules to block such error pages to prevent such information from being leaked out. For example, you can set the following rule to block error pages of specified HTTP response codes 404, 502, and 503. - Click OK. The added information leakage prevention rule is displayed in the list of information leakage prevention rules. Figure 5 List of information leakage prevention rules
Other Operations
- To disable a rule, click Disable in the Operation column of the rule. The default Rule Status is Enabled.
- To modify a rule, click Modify in the row containing the rule.
- To delete a rule, click Delete in the row containing the rule.
Last Article: Configuring Anti-Crawler Rules
Next Article: Configuring a False Alarm Masking Rule




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