Loading

B2C Commerce Demandware.net Origin Shielding — Phase 4: Staging Instance Blocking (October 2024)

Veröffentlichungsdatum: Jul 30, 2026
Beschreibung

Real-World Example

A B2C Commerce merchant has a middleware system (ERP connector) that polls their Staging instance for order data using OCAPI calls to staging-myrealm.demandware.net. After October 7, 2024, these calls start returning 403 Forbidden errors and no order data is syncing to the ERP.
Root cause: The middleware is calling the demandware.net hostname directly, bypassing the eCDN. Phase 4 blocked this direct access for Staging instances.
Resolution:

  1. The developer checks the services still allowed list — OCAPI calls are not in the allowed list for demandware.net hostnames, confirming the call must be routed through the eCDN
  2. They update the middleware to call the Staging vanity hostname (e.g., staging.brand.com) instead of staging-myrealm.demandware.net
  3. They confirm the vanity hostname is configured as a zone in Business Manager → Administration → Sites → Embedded CDN Settings
  4. OCAPI calls resume successfully through the eCDN

If no vanity hostname exists for Staging, the developer creates a custom domain (e.g., api-staging.brand.com) and configures it as an eCDN zone before updating the middleware. https://help.salesforce.com/s/articleView?id=002628746&type=1

Lösung

What Is the Origin Shielding Programme?

The B2C Commerce Demandware.net Origin Shielding programme is a multi-phase security initiative that blocks direct external access to B2C Commerce origin servers via demandware.net hostnames. By forcing all external traffic through the Salesforce eCDN (powered by Cloudflare), the programme protects B2C Commerce environments from: https://help.salesforce.com/s/articleView?id=002628746&type=1

  • Distributed denial of service (DDoS) attacks targeting the origin directly
  • Bot attacks that bypass CDN-layer protections
  • Unauthenticated direct-origin access that bypasses eCDN security rules (WAF, rate limiting, firewall rules)
PhaseEnforced DateScope
Phase 1April 15, 2022All newly created Production and Development instances
Phase 2May 15, 2022All existing Development instances
Phase 3August 15, 2022All existing Production instances
Phase 4October 7, 2024All Staging instances

 

Who Is Affected?

Affected: Update Required

You are affected if your Staging integrations access OCAPI or Storefront using either of these demandware.net hostname formats:

  • Dotted form: staging.xxx.demandware.net
  • Hyphenated form: staging-xxx.demandware.net

Common integration types that use these hostnames: middleware systems, ERP connectors, mobile apps calling OCAPI directly, point-of-sale systems, and third-party CDNs configured with a demandware.net origin.

Not Affected: No Action Required

You are not affected if your Staging integrations use:

  • A vanity hostname (e.g., staging.brand.com, api-staging.brand.com) routed through the eCDN
  • A stacked CDN configuration in front of the Commerce Cloud eCDN using a vanity hostname

Business Manager access via staging-realm-customer.demandware.net is also not affected — Business Manager is considered internal to the B2C Commerce ecosystem. https://help.salesforce.com/s/articleView?id=002628746&type=1

 

Services Still Allowed to Use demandware.net Hostnames

The following B2C Commerce services are not blocked by Phase 4 and can continue to use demandware.net hostnames for Staging instances: https://help.salesforce.com/s/articleView?id=002628746&type=1

ServiceNotes
Business ManagerInternal to B2C Commerce ecosystem — unaffected by all phases
Inventory ServiceAllowed via demandware.net
Analytics ServiceAllowed via demandware.net
Order Integration ServiceAllowed via demandware.net
Salesforce Commerce API (SCAPI) callsAllowed via demandware.net
Shopper Login (SLAS)Allowed via demandware.net
WebDAV callsAllowed via demandware.net
/dw/monitor health check callsAllowed via demandware.net
sfcc-ci tool (Developer & Staging)Allowed via demandware.net
Data APIsAllowed via demandware.net

If your integration uses a service not in this list (most notably OCAPI Storefront and OCAPI Shop calls), it must be migrated to the vanity hostname. https://help.salesforce.com/s/articleView?id=002628746&type=1

 

Required Preparation Actions

If your Staging integrations are affected, complete the following steps to restore connectivity:

Step 1: Audit Current Staging Integrations

Review all services, applications, and scripts that make calls to your Staging instance. Identify any that use staging.xxx.demandware.net or staging-xxx.demandware.net formats.

Step 2: Migrate to Vanity Hostname via eCDN

Update each affected service or application to use your vanity hostname (e.g., staging.brand.com) instead of the demandware.net hostname. All vanity hostname traffic must be routed through the B2C Commerce eCDN.
If you do not have a Staging vanity hostname, create a custom domain for your Staging OCAPI calls and configure it as an eCDN zone in Business Manager → Administration → Sites → Embedded CDN Settings. Refer to Configure the Embedded CDN for setup instructions.

Step 3: Deprecate Non-SNI Traffic

If any of your point-of-sale systems, mobile apps, or third-party CDN/proxy configurations use non-SNI (Server Name Indication) traffic to access the Staging eCDN, update them to use SNI.
Modern browsers and clients less than 6 years old support SNI natively. If you use Akamai as a stacked CDN, enable "Use SNI TLS Extension" in your Origin Configuration via Akamai Property Manager. https://help.salesforce.com/s/articleView?id=002628746&type=1

Step 4: Verify Connectivity

After migrating to the vanity hostname, verify that all Staging integrations are functioning correctly. If firewall rules are not working as expected for your configuration, open a Commerce Cloud Support case.

Zusätzliche Ressourcen
  • B2C Commerce Demandware.net Origin Shielding - Phase 3 — Phase 3 reference covering Production instance blocking (August 2022) — context for the full programme history https://help.salesforce.com/s/articleView?id=000391803&type=1
  • Configure the Embedded CDN — Full eCDN configuration guide for setting up vanity hostnames, zones, and DNS CNAME records — the primary remediation reference
  • Install a SSL Certificate on B2C Commerce — Required if setting up a new vanity hostname zone that needs an SSL certificate
  • B2C Commerce 24.7 Release Notes — Original announcement of Phase 4 changes
  • B2C Commerce 24.10 Release Notes — Follow-up enforcement communication for Phase 4
Nummer des Knowledge-Artikels

002628746

 
Laden
Salesforce Help | Article