HTML Security in SharePoint 2013

This article is an introduction to the HTML Field Security feature, as well as take you through some of its common functionalities.

Let's say you have a requirement to place a tutorial video from csharpcorner in your SharePoint site page. Use the following procedure to to do that.

We need to ensure that inserting an Iframe should be allowed in SharePoint pages. As we all know, Iframe is an HTML tag that allows you to embed contents from external websites.

Step 1: Click on the site settings of the SharePoint Site.

site settings of SharePoint Site

Step 2: Click on the "HTML Security Tab".

HTML Security Tab

Step 3: Add C-Sharpcorner.com into the option ”Allow iframes from this domain” and select the third option.

iframes from this domain

The following are three options to choose from:
  • Do not permit contributors to insert iframes from external domains into pages on this site.
  • Permit contributors to insert iframes from any external domain into pages on this site.
  • Permit contributors to insert iframes from the following list of external domains into pages on this site.

Step 4: Edit the site page and insert an embeded script into it.

insert Embed script

That's it. Now you can see the C-sharp Corner website embedded in the SharePoint site page. Cool, isn't it?

C-sharp Corner website is embedded in to SharePoint site page

I hope this article helps!!