Plans supporting access to security settings in the knowledge base site
Professional | Business | Enterprise |
---|---|---|
X-Frame options allow you to control whether your Knowledge base can be embedded in <frame>, <iframe>
, <embed>
, or <object>
tags on other domains. This feature provides an additional layer of security by preventing malicious websites from embedding your Knowledge base using the above tags.
NOTE
Ensure that you are not using iframe-based embedding for unauthorized domains, as it will be blocked when the X-Frame options setting is enabled.
Access X-Frame options
Navigate to Settings () in the left navigation bar in the Knowledge base portal.
In the left navigation pane, navigate to Users & security > Security.
This section contains controls for various security settings.
Locate the toggle labeled Enable X-Frame options and switch it on to restrict iframe embedding from external domains.
For example, if your knowledge base domain is help.example.com
and you want to prevent other sites like support.test.com
from embedding your content via iframes, ensure the Enable X-Frame options toggle is turned on.
FAQ
What is an iframe?
An iframe, also known as an inline frame, is an HTML element that allows web developers to embed another HTML document within the current document. The content within an iframe is a separate web page displayed within a specific section of another web page. Due to its ability to embed external content, managing iframe usage with security settings such as X-Frame options is crucial to prevent security risks like clickjacking.
What are the embedded tags that I can restrict with the X-Frame options?
The X-Frame options setting allows you to control whether your knowledge base can be embedded in <frame>
, <iframe>
, <embed>
, or <object>
tags on external domains.
Why are X-Frame options important?
The X-Frame options are vital for security as they help prevent clickjacking attacks, where an attacker embeds your knowledge base in a malicious website. This embedding tricks users into performing unintended actions. Enabling X-Frame options ensures your knowledge base cannot be embedded on external domains, safeguarding user interactions.
How can I configure the X-Frame options for my knowledge base?
Navigate to Settings () in the left navigation bar in the Knowledge base portal.
In the left navigation pane, navigate to Users & security > Security.
Locate the toggle labeled Enable X-Frame options and switch it on to prevent your knowledge base from being embedded on unauthorized external domains.
How can I test if my X-Frame options are working?
You can test if your X-Frame options are correctly configured by:
Using your browser’s developer tools and checking the Network tab to inspect response headers for the X-Frame-Options setting.
Using third-party services like securityheaders.com to verify that the correct X-Frame-Options header is applied.
What are the potential risks of not using X-Frame options?
If the X-Frame options are not enabled for your knowledge base, it may be embedded in an iframe on another website without your authorization. This lack of control exposes your site to clickjacking attacks, where attackers overlay invisible or misleading elements over your interface to trick users into performing unintended actions, such as divulging passwords or clicking on malicious links. Such vulnerabilities can compromise user security and potentially lead to data breaches.
What is clickjacking?
Clickjacking, also known as UI redressing or UI masking, is a malicious technique where attackers trick users into clicking on a button or link that is hidden or obscured within a web page or application. This is often achieved by overlaying a transparent layer with deceptive elements over a legitimate website or application. Users may think they are interacting with the actual site, but in reality, they are engaging with elements controlled by the attacker. Such interactions can lead to adverse outcomes, like downloading malware, making unauthorized purchases, or inadvertently sharing sensitive information. Utilizing security settings like X-Frame options can help protect against such attacks by preventing unauthorized embedding of your content.
What is a malicious website?
A malicious website is a site designed to cause harm to visitors or their devices. These sites may trick visitors into downloading malware, stealing personal information, or engaging in fraudulent activities. Using X-Frame options helps prevent your content from being embedded on such sites, enhancing your security measures against these risks.