| Version: v2023-09-20 | Includes use: Yes | 
|---|
Behavior name: Legacy Referrer Checking
Limits allowed requests to a set of domains you specify.
Default behavior
These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.
data "akamai_property_rules_builder" "referrer_checking" {
  rules_v2023_09_20 {
    name     = "Legacy Referrer Checking"
    comments = "Limits allowed requests to a set of domains you specify"
    behavior {
      referrer_checking {
        enabled        = true
        strict         = false
        domains        = ""
        allow_children = true
      }
    }
  }
}
"behaviors": [
  {
    "name": "refererChecking",
    "options": {
      "enabled": true,
      "strict": false,
      "domains": "",
      "allowChildren": true
    }
  }
]
Options
| Option | Description | 
|---|---|
| enabled | Enables the referrer-checking behavior.
         | 
| strict | When enabled, excludes requests whose  Refererheader include a relative path, or that are missing aRefererWhen disabled, only excludes requests whose 
       | 
| domains | Specifies the set of allowed domains. With  allow_childrendisabled, prefixing values with*.specifies domains for which subdomains are allowed. | 
| allow_children | Allows all subdomains for the  domainsset, just like adding a*.prefix to each. | 
