All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Define access control rules

Last updated:2020-06-01 15:42:38

Define rules to accurately control HTTP requests and prevent access those non-compliant with RFC or user-defined rules.

To define an access control rule:

  1. On the WAF instance list, select the target WAF instance.
  2. On the lower part of the page, select a domain name and choose More > Access Control above the list.
  3. Click Add Rule and configure the rule type and corresponding action.

    Supported rule types include:

    • ip: Specifies an IP address range or segment to be added to the blacklist or whitelist.
    • ua: Specifies a regular expression for matching, such as curl|Mozilla/5.0|Firefox.
    • referer: Specifies a regular expression for matching.
    • path: Typically used to match URIs by specifying a collection of keywords in AND relationship. A path that matches any specified keyword matches the rule. The rule type does not support regular expressions.
  4. Click OK in the Operation column.
  5. Repeat the previous steps to add more rules for the domain name.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback