Overview
The tamper protection feature is used to prevent exceptional display on a specified page caused by tampering.
Note:
The specified page is limited to static resources such as .html
, .shtml
, .txt
,.js
, .css
, .jpg
, and .png
.
Configuration Samples
Protecting your home page from being tampered
- Log in to the WAF Console. In the left sidebar, select Web Application Firewall>Defense settings, and in the domain names list, select the domain name of the site you want to protect, e.g.
www.qcloudwaf.com
. In the Operation column on the right, click Defense configuration.

- If necessary, you can change the site domain name displayed at the top of the defense configuration page. Select the Tamper Resistance tab, and click Add a Rule.

- In the Add Tamper Resistant Rule pop-up window, enter the rule name (e.g. homepage) and a full URL (e.g.
http://www.qcloudwaf.com/index.html
) for the rule, and click Add to save the rule.

- The rule will take effect instantly. If a rule has been updated, click Refresh under Operation to display the updated rule.

Was this page helpful?