Allow Site to Be Framed: Enhancing Security in NetSuite
Learn about the Allow Site to Be Framed feature in NetSuite, which controls whether web pages can be embedded in iframes.
TL;DR Opening
The Allow Site to Be Framed feature in NetSuite enables control over whether your web pages can be embedded in an HTML iframe. This setting is crucial for managing content security and ensuring that user sessions remain intact while interacting with embedded content.
What is the Allow Site to Be Framed Feature?
The Allow Site to Be Framed setting adds HTTP headers that determine the conditions under which your web pages can be framed. While it facilitates embedding, it's important to be cautious with this feature due to modern cookie management practices that can affect site functionality.
Options for Allow Framing
The feature provides three configuration options:
- Disallow Framing: This is the default setting that allows framing only by the exact same domain/origin.
- Allow Framing: This option permits framing by any domain/origin.
- Allow Framing Custom: Here, you can specify a list of authorized domains/origins that are allowed to frame your web pages.
Important Note: Although enabling framing can help render pages, be aware that critical features like login, cart, and checkout may not function properly when the parent domain of the iframe differs from your SuiteCommerce domain.
How to Configure Framing Settings
To configure the Allow Site to Be Framed settings, follow these steps:
- Navigate to Advanced > Security in the NetSuite UI.
- Locate the setting for Allow Site to Be Framed.
- Choose your desired option: Disallow, Allow, or Custom.
- If opting for Allow Framing Custom, populate the allowed domains list appropriately.
Allow Site to Be Framed By
The Allow Site to Be Framed By array provides additional configuration to choose which origins are permitted to display pages in a frame. By default, it includes the SAMEORIGIN directive to allow framing by your own domain.
Properties:
- ID:
security.allowFramingBy - UI location: Advanced > Security
- JSON file: SecurityHeaders.json
Adding Headers to SSP Responses
Furthermore, you can enhance your security setup by adding HTTP headers to your Servlet-Specific Protocol (SSP) responses. Here are two critical properties involved:
- Name: Define the HTTPS header name (case insensitive).
- Value: Specify the corresponding value for the HTTPS header.
Additional Information
To learn more about managing secure communication, refer to the HTTPS header documentation. Ensuring that your HTTPS calls comply with best security practices is paramount, especially in today’s security-centric online environment.
Who This Affects
- Developers: When implementing framing options and understanding cookie management.
- Administrators: Responsible for configuring security settings in the NetSuite dashboard.
Key Takeaways
- The Allow Site to Be Framed feature controls iframe embedding for web pages.
- Be cautious as modern cookie practices may hinder functionality in iframes.
- Configuration options include disallowing, allowing, or customizing allowed domains.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
What are the configuration options for the Allow Site to Be Framed setting in NetSuite 2026.1?
How does the Allow Site to Be Framed setting interact with session-dependent features like login or checkout?
Do I need to update any NetSuite configuration files when customizing the Allow Site to Be Framed setting?
Can enabling the Allow Framing option in NetSuite 2026.1 introduce security risks?
Weekly Update History (1)
Updated Allow Site to Be Framed to clarify that the Allow Site to be Framed setting doesn't change how browsers treat cookies or how NetSuite sets session cookies.
View Oracle DocsWas this article helpful?
More in Commerce
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency.
- Intelligent Item Recommendations in Commerce Marketing
Leverage Intelligent Item Recommendations in Commerce Marketing to enhance sales with insightful analytics, filtering, and customization features.
