Help Center/ Web Application Firewall/ FAQs/ Protection Rules/ How Can I Allow Access from .js Files?
Updated on 2024-07-30 GMT+08:00

How Can I Allow Access from .js Files?

You can configure a precise protection rule in WAF to allow .js files. The configuration is as follows:

  1. Log in to the Huawei Cloud WAF console and go to the Huawei Cloud WAF protection rule configuration page by referring to Figure 1.

    Figure 1 Protection rules

  2. In the Precise Protection configuration box, click Add Rule and configure a rule as shown in Figure 2.

    Figure 2 Allowing .js files

  3. Click Confirm.

Related Operations

For details about precise protection rules, see Configuring Custom Precise Protection Rules.