geo-blacklist

Prevent access based on the continent, country, region/state of the requesting IP address. All other geographic areas are allowed.

The setting that can be specified by the type parameter (required) is as follows.

  • continent – continent. continent – e.g.: "continent":"EU"
  • country – country. country – e.g.: "country":"US"
  • region – region. They have to be described in order of "Country code: Region code".

Example: "United States, Washington (State)" is "US:WA", "Australia, Western Australia" is "AU:WA", "United Kingdom, Wales" is "GB:WA"

Please refer to Appendix B for Country code, and Appendix C for Region code.


       {
         "rules": [
           {
             "matches": [
               {
                 "name": "url-wildcard",
                 "value": "/protected/*"
               }
             ],
             "behaviors": [
               {
                 "name": "geo-blacklist",
                 "type": "country",
                 "value": "US"
               }
             ]
           }
         ]
       }