SharePoint Document Issues

How to Embed a Local Intranet Website in SharePoint Online

Aamir Naveed AkramAamir Naveed Akram Oct 21, 2026 870 views

Question details

The user needs to successfully embed a local, VPN-only, or internal intranet website onto a SharePoint Online page without it being blocked.

How to Embed a Local Intranet Website in SharePoint Online
Product
SharePoint Online
Device & OS
not provided
Scenario
Displaying internal company web portals or local intranet pages via an embed web part or iframe within SharePoint.
Observed behavior
SharePoint Online blocks the embedded site from rendering unless the internal domain is explicitly approved in the site's HTML Field Security settings.
Before you start

Ensure you are connected to your company's internal network or VPN, and verify that you have Site Collection Administrator permissions to adjust site security settings.

Solution 1Recommended

Add the Intranet Domain to HTML Field Security

Approve the specific internal domain in SharePoint's security settings to allow the embedded website to display.

SharePoint Online restricts embedding external or internal web content by default for security reasons. You must add the specific domain of your local intranet website to the approved list.

1
Open Site Information

Click the gear icon (Settings) in the top-right corner of your SharePoint site and select 'Site information' from the menu.

2
Access All Site Settings

Scroll to the bottom of the Site information pane and click on 'View all site settings'.

3
Navigate to HTML Field Security

Under the 'Site Collection Administration' section, find and click on 'HTML Field Security'.

4
Approve the Domain

Add your local intranet domain (e.g., intranet.local) to the allowed list and save your changes.

Add the Intranet Domain to HTML Field Security
Missing Security Settings: If you do not see the HTML Field Security option, you do not have the required permissions. Contact your SharePoint tenant administrator to make this change.
Free Microsoft Office alternative

Looking for a Lightweight Document Solution?

If complex SharePoint administrative settings are slowing down your team's workflow, consider WPS Office. It provides a lightweight, free alternative for creating, editing, and managing your everyday office documents without requiring advanced tenant configurations.

  1. 1. Download the Application: Visit the official WPS website and download the free desktop application for your operating system.
  2. 2. Open Your Office Files: Easily open your existing Microsoft Office documents directly in the application.
  3. 3. Edit and Share: Make edits using the familiar tabbed interface and save them locally or share them with colleagues.
Highly compatible with Microsoft Word, Excel, and PowerPoint formats.No complex tenant administration required for basic file management.Lightweight installation with a familiar, easy-to-use tabbed interface.Completely free to use for daily office document tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does SharePoint block my internal website by default?

SharePoint Online employs HTML Field Security to prevent unauthorized or potentially malicious iframes from executing scripts on your pages. All custom domains, including internal ones, must be explicitly approved to bypass this block.

Why can't I find the HTML Field Security option?

This specific setting is restricted to users with Site Collection Administrator privileges. If you only have Edit or standard Owner permissions, the setting will be hidden. You must request your IT department or tenant admin to configure it.

Can I embed a local file path (like C:\) into a SharePoint page?

No, SharePoint Online requires web-based protocols (HTTP or HTTPS) for embedded iframe content. You cannot use local file directory paths as an embedded website.