Access Control & Security

These settings limit what your configuration tells clients about your infrastructure, and which requests reach your origin at all.

deploymentNetworkTemplate

{
  "name": "deploymentNetworkTemplate",
  "options": {
    "secureDeploymentNetwork": false
  }
}

Chooses between Akamai's two HTTPS security levels.

  • false — Standard TLS. Ships as this. A Level 1 certificate network: SOX and ISO compliant, but not PCI or FedRAMP. Right for general web traffic, public sites, and content that doesn't exchange PII. Edge hostnames use the edgesuite.net suffix.
  • true — Enhanced TLS. A Level 3 certificate network for high-assurance requirements: fully PCI and FedRAMP compliant, best for PII, e-commerce, or financial data, and able to support non-SNI configurations for legacy clients. Edge hostnames use the edgekey.net suffix.

Enhanced TLS depends on your contract. In the product definition, secureIncluded and sharedCertSslIncluded tell you what your contract includes.

📘

Worth a second look on DSA

DSA configurations often front transactional and authenticated traffic, which is exactly the content Enhanced TLS exists for. The template ships the Standard TLS default because it's the one every contract can use — not because it's the right answer for a checkout flow.

allowMethodsTemplate

{
  "name": "allowMethodsTemplate",
  "options": {
    "allowAllHttpInCacheHierarchy": true,
    "allowPost": true,
    "allowPostWithoutContentLength": false,
    "allowOptions": true,
    "allowPut": false,
    "allowPatch": false,
    "allowDelete": false
  }
}

GET and HEAD are always permitted — they're the standard content requests and aren't options here. Everything else is explicit, and Akamai recommends keeping these values.

OptionShips asWhy
allowAllHttpInCacheHierarchytruePermits all methods across cache-hierarchy parents, which SiteShield, SureRoute, and Tiered Distribution rely on. Both SureRoute and Tiered Distribution are on in this same template.
allowPosttrueForwards POST to your origin; responses aren't cached. Without it, POST is denied with 403 Forbidden. Form submissions and API calls behind a DSA configuration depend on this.
allowPostWithoutContentLengthfalseAkamai normally requires Content-Length on POST and returns 411 Length Required without it, even for an empty body. Enabling this affects all write methods (POST, PUT, PATCH) in your default settings, so it ships off — turn it on only if your origin can handle requests whose body size isn't declared.
allowOptionstrueBrowsers use OPTIONS to preflight. Blocked, it returns 501 Not Implemented — and full CORS support requires allowing OPTIONS, so disabling this breaks CORS silently. Responses aren't cached unless you use constructResponse.
allowPutfalseWrite methods that modify origin content. Denied, they return 501 Not Implemented. Keeping them off prevents unauthorized or malicious modification of origin files. Enabling PUT also prevents caching for the affected requests.
allowPatchfalseAs above.
allowDeletefalseAs above. Setting it to true makes allowDeleteWithBody available (off by default).

obfuscateBackendTemplate

Recommended.

{
  "name": "obfuscateBackendTemplate",
  "options": {
    "debugHeader": "X-Akamai-Debug",
    "removeXPoweredByHeader": true,
    "removeServerHeader": true
  }
}

Removes response headers that disclose your origin software — the detail attackers use to match a host against known vulnerabilities.

OptionShips asWhy
removeXPoweredByHeadertrueHides the technology stack (PHP, ASP.NET).
removeServerHeadertrueHides the web server software and version (Apache/2.4.41).
debugHeader"X-Akamai-Debug"The escape hatch, prefilled so you don't have to invent one. When a request carries this header with the value true, X-Powered-By and Server are sent; otherwise both are removed. Change it to something private if you don't want its name to be guessable.

httpsRedirectTemplate

{
  "name": "httpsRedirectTemplate",
  "options": {
    "destinationHostname": "SAME_AS_REQUEST",
    "destinationPath": "SAME_AS_REQUEST",
    "queryString": "APPEND",
    "responseCode": 301
  }
}

Upgrades HTTP requests to HTTPS. The edge answers the client itself — your origin never sees the request — building the redirect URL from these options.

❗️

This setting has no enable switch and no criteria

It's part of the default settings and applies to every request the configuration handles. With the shipped values it's a clean HTTP-to-HTTPS upgrade that preserves the hostname, path, and query string. Change destinationHostname or destinationPath only if you intend that redirect for all traffic — a misconfiguration here is a redirect loop, not a degraded experience.

OptionShips asWhy
destinationHostnameSAME_AS_REQUESTThe domain is unchanged, so the redirect only changes the scheme. SUBDOMAIN prepends a subdomain, SIBLING swaps the leftmost one, OTHER sends everything to a fixed hostname — each with a companion option for the value.
destinationPathSAME_AS_REQUESTThe user lands on the page they asked for. PREFIX_REQUEST adds a prefix (and optionally a suffix); OTHER replaces the path entirely.
queryStringAPPENDQuery parameters from the original request are carried over, so campaign and session parameters survive the upgrade.
responseCode301Moved Permanently, so clients and search engines remember the HTTPS URL and stop requesting the HTTP one. The behavior's own default is 302; the template overrides it because an HTTPS upgrade is permanent. Also available: 303, 307.

httpStrictTransportSecurity

{
  "name": "httpStrictTransportSecurity",
  "options": {
    "enable": false
  }
}

HSTS tells a browser to refuse plain HTTP for your domain for a stated period, so after the first visit the upgrade happens in the browser and the HTTP request is never sent. It's the natural companion to httpsRedirectTemplate above: the redirect handles the first request, HSTS removes every one after it.

It ships off, and that's the right default for a setting you can't quickly take back. Browsers honor a stored HSTS policy for its full maxAge even after you stop sending the header, and a policy with includeSubDomains covers hostnames you may not have moved to HTTPS yet. A premature HSTS can make part of a domain unreachable for months.

Turn it on once every hostname the policy covers — including subdomains, if you include them — serves HTTPS correctly. Raise maxAge in stages rather than starting at a year. With enable set to true, httpStrictTransportSecurity also exposes maxAge, includeSubDomains, preload, redirect, and redirectStatusCode.

Note the option is enable, not enabled.

📘

Ion exposes this too, but not as a default setting

httpStrictTransportSecurity is in both catalogs. The DSA template seeds it in defaultSettings; on Ion you add it to a rule. A configuration migrating between the two products needs this moved, not just copied.