referer_checking
Version: v2025-01-13 | 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_v2025_02_18 {
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 Referer header include a relative path, or that are missing a RefererWhen disabled, only excludes requests whose
|
domains |
Specifies the set of allowed domains. With
allow_children disabled, prefixing values with *. specifies domains for which subdomains are allowed.
|
allow_children |
Allows all subdomains for the
domains set, just like adding a *. prefix to each.
|
Updated 35 minutes ago