- Property Manager name: Content Targeting - Protection
- Behavior version: The
latest
rule format supports thecontentTargetingProtection
behavior v1.1. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
Content Targeting is based on EdgeScape, 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.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Enables the Content Targeting feature. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
enableGeoProtection | boolean | When enabled, verifies IP addresses are unique to specific geographic regions. | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
geoProtectionMode | enum | Specifies how to handle requests. | enableGeoProtection is true | {"displayType":"enum","options":["ALLOW","DENY"],"tag":"select"} {"if":{"attribute":"enableGeoProtection","op":"eq","value":true}} |
ALLOW | Allow requests. | |||
DENY | Deny requests. | |||
countries | string array | Specifies a set of two-character ISO 3166 country codes from which to allow or deny traffic. See EdgeScape Data Codes for a list. | enableGeoProtection 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","XK","YE","YT","ZA","ZM","ZW"],"tag":"select"} {"if":{"attribute":"enableGeoProtection","op":"eq","value":true}} |
regions | string array | Specifies a set of ISO 3166-2 regional codes from which to allow or deny traffic. See EdgeScape Data Codes for a list. | enableGeoProtection 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","ES-AN","ES-AR","ES-AS","ES-CB","ES-CE","ES-CL","ES-CM","ES-CN","ES-CT","ES-EX","ES-GA","ES-IB","ES-MC","ES-MD","ES-ML","ES-NC","ES-PV","ES-RI","ES-VC","BE-BRU","BE-VLG","BE-WAL","TH-10","TH-11","TH-12","TH-13","TH-14","TH-15","TH-16","TH-17","TH-18","TH-19","TH-20","TH-21","TH-22","TH-23","TH-24","TH-25","TH-26","TH-27","TH-30","TH-31","TH-32","TH-33","TH-34","TH-35","TH-36","TH-37","TH-38","TH-39","TH-40","TH-41","TH-42","TH-43","TH-44","TH-45","TH-46","TH-47","TH-48","TH-49","TH-50","TH-51","TH-52","TH-53","TH-54","TH-55","TH-56","TH-57","TH-58","TH-60","TH-61","TH-62","TH-63","TH-64","TH-65","TH-66","TH-67","TH-70","TH-71","TH-72","TH-73","TH-74","TH-75","TH-76","TH-77","TH-80","TH-81","TH-82","TH-83","TH-84","TH-85","TH-86","TH-90","TH-91","TH-92","TH-93","TH-94","TH-95","TH-96","ID-AC","ID-BA","ID-BB","ID-BE","ID-BT","ID-GO","ID-JA","ID-JB","ID-JI","ID-JK","ID-JT","ID-KB","ID-KI","ID-KR","ID-KS","ID-KT","ID-KU","ID-LA","ID-MA","ID-MU","ID-NB","ID-NT","ID-PA","ID-PB","ID-RI","ID-SA","ID-SB","ID-SG","ID-SN","ID-SR","ID-SS","ID-ST","ID-SU","ID-YO","MY-01","MY-02","MY-03","MY-04","MY-05","MY-06","MY-07","MY-08","MY-09","MY-10","MY-11","MY-12","MY-13","MY-14","MY-15","MY-16","VN-01","VN-02","VN-03","VN-04","VN-05","VN-06","VN-07","VN-09","VN-13","VN-14","VN-18","VN-20","VN-21","VN-22","VN-23","VN-24","VN-25","VN-26","VN-27","VN-28","VN-29","VN-30","VN-31","VN-32","VN-33","VN-34","VN-35","VN-36","VN-37","VN-39","VN-40","VN-41","VN-43","VN-44","VN-45","VN-46","VN-47","VN-49","VN-50","VN-51","VN-52","VN-53","VN-54","VN-55","VN-56","VN-57","VN-58","VN-59","VN-61","VN-63","VN-66","VN-67","VN-68","VN-69","VN-70","VN-71","VN-72","VN-73","VN-CT","VN-DN","VN-HN","VN-HP","VN-SG","PH-00","PH-ABR","PH-AGN","PH-AGS","PH-AKL","PH-ALB","PH-ANT","PH-APA","PH-AUR","PH-BAN","PH-BAS","PH-BEN","PH-BIL","PH-BOH","PH-BTG","PH-BTN","PH-BUK","PH-BUL","PH-CAG","PH-CAM","PH-CAN","PH-CAP","PH-CAS","PH-CAT","PH-CAV","PH-CEB","PH-COM","PH-DAO","PH-DAS","PH-DAV","PH-DIN","PH-DVO","PH-EAS","PH-GUI","PH-IFU","PH-ILI","PH-ILN","PH-ILS","PH-ISA","PH-KAL","PH-LAG","PH-LAN","PH-LAS","PH-LEY","PH-LUN","PH-MAD","PH-MAG","PH-MAS","PH-MDC","PH-MDR","PH-MOU","PH-MSC","PH-MSR","PH-NCO","PH-NEC","PH-NER","PH-NSA","PH-NUE","PH-NUV","PH-PAM","PH-PAN","PH-PLW","PH-QUE","PH-QUI","PH-RIZ","PH-ROM","PH-SAR","PH-SCO","PH-SIG","PH-SLE","PH-SLU","PH-SOR","PH-SUK","PH-SUN","PH-SUR","PH-TAR","PH-TAW","PH-WSA","PH-ZAN","PH-ZAS","PH-ZMB","PH-ZSI"],"tag":"select"} {"if":{"attribute":"enableGeoProtection","op":"eq","value":true}} |
dmas | string array | Specifies the set of Designated Market Area codes from which to allow or deny traffic. See EdgeScape Data Codes for a list. | enableGeoProtection 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}} |
overrideIPAddresses | string array | Specify a set of IP addresses or CIDR blocks that exceptions to the set of included or excluded areas. | enableGeoProtection is true | {"displayType":"string array","tag":"input","todo":true} {"if":{"attribute":"enableGeoProtection","op":"eq","value":true}} |
enableGeoRedirectOnDeny | boolean | When enabled, redirects denied requests rather than responding with an error code. | enableGeoProtection is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enableGeoProtection","op":"eq","value":true}} |
geoRedirectUrl | string | This specifies the full URL to the redirect page for denied requests. | enableGeoRedirectOnDeny is true | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"enableGeoRedirectOnDeny","op":"eq","value":true}} |
enableIPProtection | boolean | 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}} | |
ipProtectionMode | enum | Specifies how to handle requests. | enableIPProtection is true | {"displayType":"enum","options":["ALLOW","DENY"],"tag":"select"} {"if":{"attribute":"enableIPProtection","op":"eq","value":true}} |
ALLOW | Allow requests. | |||
DENY | Deny requests. | |||
ipAddresses | string array | Specify a set of IP addresses or CIDR blocks to allow or deny. | enableIPProtection is true | {"displayType":"string array","tag":"input","todo":true} {"if":{"attribute":"enableIPProtection","op":"eq","value":true}} |
enableIPRedirectOnDeny | boolean | When enabled, redirects denied requests rather than responding with an error code. | enableIPProtection is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enableIPProtection","op":"eq","value":true}} |
ipRedirectUrl | string | This specifies the full URL to the redirect page for denied requests. | enableIPRedirectOnDeny is true | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"enableIPRedirectOnDeny","op":"eq","value":true}} |
enableReferrerProtection | boolean | 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}} | |
referrerProtectionMode | enum | Specify the action to take. | enableReferrerProtection is true | {"displayType":"enum","options":["ALLOW","DENY"],"tag":"select"} {"if":{"attribute":"enableReferrerProtection","op":"eq","value":true}} |
ALLOW | Allow requests. | |||
DENY | Deny requests. | |||
referrerDomains | string array | Specifies the set of domains from which to allow or deny traffic. | enableReferrerProtection is true | {"displayType":"string array","tag":"input","todo":true} {"if":{"attribute":"enableReferrerProtection","op":"eq","value":true}} |
enableReferrerRedirectOnDeny | boolean | When enabled, redirects denied requests rather than responding with an error code. | enableReferrerProtection is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enableReferrerProtection","op":"eq","value":true}} |
referrerRedirectUrl | string | This specifies the full URL to the redirect page for denied requests. | enableReferrerRedirectOnDeny is true | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"enableReferrerRedirectOnDeny","op":"eq","value":true}} |