---
schema_version: "1"
id: 7f8a42c8023607861f1e00f6344bf40daaf5383d7c7d69ed4f5ebefbb631eefe
title: No Restrictions for CONTENT_SECURITY_POLICY
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rn_policy_header_b2c_21_3_w8800481_la.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rn_policy_header_b2c_21_3_w8800481_la.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5446237c0d43919b263590cbe04d3ec1655e66eb00bf3f7d7586f27ebf5d7b83
description: Set the CONTENT_SECURITY_POLICY in B2C Script class dw.system.Response to any string value. Previously, the only directive allowed was frame-ancestors.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# No Restrictions for CONTENT\_SECURITY\_POLICY

Set the `CONTENT_SECURITY_POLICY` in B2C Script class `dw.system.Response` to any string value. Previously, the only directive allowed was `frame-ancestors`.

#### See Also

- [Class Response](https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/DWAPI/scriptapi/html/api/class_dw_system_Response.html)