requestControl


The Request Control Cloudlet allows you to control access to your web content based on the incoming request's IP or geographic location. With Cloudlets available on your contract, choose Your services > Edge logic Cloudlets to control how the feature works within Control Center, or use the Cloudlets API to configure it programmatically.

OptionTypeDescriptionRequires
enabledboolean

Enables the Request Control Cloudlet.

{"displayType":"boolean","tag":"input","type":"checkbox"}
cloudlet‚ÄčPolicyobject

Identifies the Cloudlet policy.

{"displayType":"object","tag":"input","todo":true}
{"if":{"attribute":"enabled","op":"eq","value":true}}
cloudlet‚ÄčPolicy.idnumber

Identifies the Cloudlet.

cloudlet‚ÄčPolicy.namestring

The Cloudlet's descriptive name.

enable‚ÄčBranded403boolean

If enabled, serves a branded 403 page for this Cloudlet instance.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
branded403Status‚ÄčCodeenum

Specifies the response status code for the branded deny action.

enable‚ÄčBranded403 is true
{"displayType":"enum","options":["200","302","403","503"],"tag":"select"}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true}]}}
Supported values:
200
302
403
503
net‚ÄčStorageobject

Specifies the Net‚ÄčStorage domain that contains the branded 403 page.

enable‚ÄčBranded403 is true
AND¬†branded403Status‚ÄčCode is not 302
{"displayType":"object","tag":"input","todo":true}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}}
net‚ÄčStorage.cp‚ÄčCode‚ÄčListarray

A set of CP codes that apply to this storage group.

net‚ÄčStorage.download‚ÄčDomain‚ÄčNamestring

Domain name from which content can be downloaded.

net‚ÄčStorage.idnumber

Unique identifier for the storage group.

net‚ÄčStorage.namestring

Name of the storage group.

net‚ÄčStorage.upload‚ÄčDomain‚ÄčNamestring

Domain name used to upload content.

branded403Filestring

Specifies the full path of the branded 403 page, including the filename, but excluding the Net‚ÄčStorage CP code path component.

enable‚ÄčBranded403 is true
AND¬†branded403Status‚ÄčCode is not 302
{"displayType":"string","tag":"input","type":"text"}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}}
branded403Urlstring

Specifies the redirect URL for the branded deny action.

enable‚ÄčBranded403 is true
AND¬†branded403Status‚ÄčCode is 302
{"displayType":"string","tag":"input","type":"text"}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"eq","value":302}]}}
branded‚ÄčDeny‚ÄčCache‚ÄčTtlnumber (5-30)

Specifies the branded response page's time to live in the cache, 5 minutes by default.

enable‚ÄčBranded403 is true
AND¬†branded403Status‚ÄčCode is not 302
{"displayType":"number","max":[30],"min":[5],"tag":"input","type":"range"}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}}