GuideReference
TrainingSupportCommunity
Reference

content_​targeting_​protection

  • Property Manager name: Content Targeting - Protection
  • Behavior version: The v2023-01-05 rule format supports the content_​targeting_​protection behavior v1.1.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

Content Targeting is based on Edge​Scape, Akamai's location-based access control system. You can use it to allow or deny access to a set of geographic regions or IP addresses.

OptionTypeDescriptionRequires
enabledboolean

Enables the Content Targeting feature.

{"displayType":"boolean","tag":"input","type":"checkbox"}
enable_​geo_​protectionboolean

When enabled, verifies IP addresses are unique to specific geographic regions.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
geo_​protection_​modeenum

Specifies how to handle requests.

enable_​geo_​protection is true
{"displayType":"enum","options":["ALLOW","DENY"],"tag":"select"}
{"if":{"attribute":"enableGeoProtection","op":"eq","value":true}}
ALLOW

Allow requests.

DENY

Deny requests.

countriesstring array

Specifies a set of two-character ISO 3166 country codes from which to allow or deny traffic. See Edge​Scape Data Codes for a list.

enable_​geo_​protection is true
{"displayType":"string array","options":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","EU","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GH","GI","GG","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TM","TN","TO","TL","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"tag":"select"}
{"if":{"attribute":"enableGeoProtection","op":"eq","value":true}}
regionsstring array

Specifies a set of ISO 3166-2 regional codes from which to allow or deny traffic. See Edge​Scape Data Codes for a list.

enable_​geo_​protection is true
{"displayType":"string array","options":["US-AL","US-AK","US-AZ","US-AR","US-CA","US-CO","US-CT","US-DE","US-DC","US-FL","US-GA","US-HI","US-ID","US-IL","US-IN","US-IA","US-KS","US-KY","US-LA","US-ME","US-MD","US-MA","US-MI","US-MN","US-MS","US-MO","US-MT","US-NE","US-NV","US-NH","US-NJ","US-NM","US-NY","US-NC","US-ND","US-OH","US-OK","US-OR","US-PA","US-RI","US-SC","US-SD","US-TN","US-TX","US-UT","US-VT","US-VA","US-WA","US-WV","US-WI","US-WY","CA-AB","CA-BC","CA-MB","CA-NB","CA-NF","CA-NS","CA-NT","CA-NU","CA-ON","CA-PE","CA-QC","CA-SK","CA-YT","AU-ACT","AU-NSW","AU-NT","AU-QLD","AU-SA","AU-TAS","AU-VIC","AU-WA","GB-EN","GB-NI","GB-SC","GB-WA","FR-ARA","FR-BFC","FR-BRE","FR-CVL","FR-COR","FR-GES","FR-HDF","FR-IDF","FR-NOR","FR-NAQ","FR-OCC","FR-PDL","FR-PAC","CH-AG","CH-AI","CH-AR","CH-BE","CH-BL","CH-BS","CH-FR","CH-GE","CH-GL","CH-GR","CH-JU","CH-LU","CH-NE","CH-NW","CH-OW","CH-SG","CH-SH","CH-SO","CH-SZ","CH-TG","CH-TI","CH-UR","CH-VD","CH-VS","CH-ZG","CH-ZH","JP-01","JP-02","JP-03","JP-04","JP-05","JP-06","JP-07","JP-08","JP-09","JP-10","JP-11","JP-12","JP-13","JP-14","JP-15","JP-16","JP-17","JP-18","JP-19","JP-20","JP-21","JP-22","JP-23","JP-24","JP-25","JP-26","JP-27","JP-28","JP-29","JP-30","JP-31","JP-32","JP-33","JP-34","JP-35","JP-36","JP-37","JP-38","JP-39","JP-40","JP-41","JP-42","JP-43","JP-44","JP-45","JP-46","JP-47","BR-AC","BR-AL","BR-AM","BR-AP","BR-BA","BR-CE","BR-DF","BR-ES","BR-GO","BR-IS","BR-MA","BR-MG","BR-MS","BR-MT","BR-PA","BR-PB","BR-PE","BR-PI","BR-PR","BR-RJ","BR-RN","BR-RO","BR-RR","BR-RS","BR-SC","BR-SE","BR-SP","BR-TO","DE-BB","DE-BE","DE-BW","DE-BY","DE-HB","DE-HE","DE-HH","DE-MV","DE-NI","DE-NW","DE-RP","DE-SH","DE-SL","DE-SN","DE-ST","DE-TH","CN-AH","CN-BJ","CN-CQ","CN-FJ","CN-GS","CN-GD","CN-GX","CN-GZ","CN-HI","CN-HE","CN-HL","CN-HA","CN-HB","CN-HN","CN-JS","CN-JX","CN-JL","CN-LN","CN-NM","CN-NX","CN-QH","CN-SN","CN-SD","CN-SH","CN-SX","CN-SC","CN-TJ","CN-XJ","CN-XZ","CN-YN","CN-ZJ","IN-AN","IN-AP","IN-AR","IN-AS","IN-BR","IN-CH","IN-CT","IN-DD","IN-DL","IN-DN","IN-GA","IN-GJ","IN-HP","IN-HR","IN-JH","IN-JK","IN-KA","IN-KL","IN-LD","IN-MH","IN-ML","IN-MN","IN-MP","IN-MZ","IN-NL","IN-OR","IN-PB","IN-PY","IN-RJ","IN-SK","IN-TG","IN-TN","IN-TR","IN-UL","IN-UP","IN-WB","SE-K","SE-X","SE-I","SE-N","SE-Z","SE-F","SE-H","SE-W","SE-G","SE-BD","SE-T","SE-E","SE-D","SE-C","SE-S","SE-AC","SE-Y","SE-U","SE-AB","SE-M","SE-O","MX-AGU","MX-BCN","MX-BCS","MX-CAM","MX-CHP","MX-CHH","MX-COA","MX-COL","MX-DIF","MX-DUR","MX-GUA","MX-GRO","MX-HID","MX-JAL","MX-MEX","MX-MIC","MX-MOR","MX-NAY","MX-NLE","MX-OAX","MX-PUE","MX-QUE","MX-ROO","MX-SLP","MX-SIN","MX-SON","MX-TAB","MX-TAM","MX-TLA","MX-VER","MX-YUC","MX-ZAC","UA-CK","UA-CH","UA-CV","UA-CRIMEA","UA-DP","UA-DT","UA-IF","UA-KK","UA-KS","UA-KM","UA-KV","UA-KH","UA-LH","UA-LV","UA-MY","UA-OD","UA-PL","UA-RV","UA-SM","UA-TP","UA-ZK","UA-VI","UA-VO","UA-ZP","UA-ZT"],"tag":"select"}
{"if":{"attribute":"enableGeoProtection","op":"eq","value":true}}
dmasstring array

Specifies the set of Designated Market Area codes from which to allow or deny traffic. See Edge​Scape Data Codes for a list.

enable_​geo_​protection is true
{"displayType":"string array","options":["500","501","502","503","504","505","506","507","508","509","510","511","512","513","514","515","516","517","518","519","520","521","522","523","524","525","526","527","528","529","530","531","532","533","534","535","536","537","538","539","540","541","542","543","544","545","546","547","548","549","550","551","552","553","554","555","556","557","558","559","560","561","563","564","565","566","567","569","570","571","573","574","575","576","577","581","582","583","584","588","592","596","597","598","600","602","603","604","605","606","609","610","611","612","613","616","617","618","619","622","623","624","625","626","627","628","630","631","632","633","634","635","636","637","638","639","640","641","642","643","644","647","648","649","650","651","652","656","657","658","659","661","662","669","670","671","673","675","676","678","679","682","686","687","691","692","693","698","702","705","709","710","711","716","717","718","722","724","725","734","736","737","740","743","744","745","746","747","749","751","752","753","754","755","756","757","758","759","760","762","764","765","766","767","770","771","773","789","790","798","800","801","802","803","804","807","810","811","813","819","820","821","825","828","839","855","862","866","868","881"],"tag":"select"}
{"if":{"attribute":"enableGeoProtection","op":"eq","value":true}}
override_​ip_​addressesstring array

Specify a set of IP addresses or CIDR blocks that exceptions to the set of included or excluded areas.

enable_​geo_​protection is true
{"displayType":"string array","tag":"input","todo":true}
{"if":{"attribute":"enableGeoProtection","op":"eq","value":true}}
enable_​geo_​redirect_​on_​denyboolean

When enabled, redirects denied requests rather than responding with an error code.

enable_​geo_​protection is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableGeoProtection","op":"eq","value":true}}
geo_​redirect_​urlstring

This specifies the full URL to the redirect page for denied requests.

enable_​geo_​redirect_​on_​deny is true
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"enableGeoRedirectOnDeny","op":"eq","value":true}}
enable_​ip_​protectionboolean

Allows you to control access to your content from specific sets of IP addresses and CIDR blocks.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
ip_​protection_​modeenum

Specifies how to handle requests.

enable_​ip_​protection is true
{"displayType":"enum","options":["ALLOW","DENY"],"tag":"select"}
{"if":{"attribute":"enableIPProtection","op":"eq","value":true}}
ALLOW

Allow requests.

DENY

Deny requests.

ip_​addressesstring array

Specify a set of IP addresses or CIDR blocks to allow or deny.

enable_​ip_​protection is true
{"displayType":"string array","tag":"input","todo":true}
{"if":{"attribute":"enableIPProtection","op":"eq","value":true}}
enable_​ip_​redirect_​on_​denyboolean

When enabled, redirects denied requests rather than responding with an error code.

enable_​ip_​protection is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableIPProtection","op":"eq","value":true}}
ip_​redirect_​urlstring

This specifies the full URL to the redirect page for denied requests.

enable_​ip_​redirect_​on_​deny is true
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"enableIPRedirectOnDeny","op":"eq","value":true}}
enable_​referrer_​protectionboolean

Allows you allow traffic from certain referring websites, and disallow traffic from unauthorized sites that hijack those links.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
referrer_​protection_​modeenum

Specify the action to take.

enable_​referrer_​protection is true
{"displayType":"enum","options":["ALLOW","DENY"],"tag":"select"}
{"if":{"attribute":"enableReferrerProtection","op":"eq","value":true}}
ALLOW

Allow requests.

DENY

Deny requests.

referrer_​domainsstring array

Specifies the set of domains from which to allow or deny traffic.

enable_​referrer_​protection is true
{"displayType":"string array","tag":"input","todo":true}
{"if":{"attribute":"enableReferrerProtection","op":"eq","value":true}}
enable_​referrer_​redirect_​on_​denyboolean

When enabled, redirects denied requests rather than responding with an error code.

enable_​referrer_​protection is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableReferrerProtection","op":"eq","value":true}}
referrer_​redirect_​urlstring

This specifies the full URL to the redirect page for denied requests.

enable_​referrer_​redirect_​on_​deny is true
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"enableReferrerRedirectOnDeny","op":"eq","value":true}}