HTML Field Security in SharePoint 2013

HTML Field Security is a new feature in SharePoint 2013. Through this feature, a SharePoint site collection administrators can control what content is allowed to embed within an iframe. Within iframes, admin can show embed dynamic contents from other sites such as videos or maps on any SharePoint site with the help of Content editor web part.

But any external domains such as youtube that you want to insert in an iframe should be added as approved domains in HTML field security.

By default following external domains has been put already in the approved list to use in an iframe.

HTML Field Security in SharePoint 2013
HTML Field Security in SharePoint 2013

If you want to add or remove any new external domain, then you can do so by using HTML Field Security page. Follow the below steps:

Open SharePoint 2013 site and go to top-level Site settings, then click on HTML Field security under Site Collection Administration as shown in the fig below:

HTML Field Security in SharePoint 2016
HTML Field Security in SharePoint 2013/2016

There it asks for 3 option:

  • Do not permit contributors to insert iframes from external domains into pages on this site. If you chose this option, then you will not be able to insert iframes from external domains. When you will try to do show it will show error message like The embed code is invalid because the source of the embed content is not allowed.
  • Permit contributors to insert iframes from any external domain into pages on this site. If you chose this option, the user can insert iframes from any external domain.
  • Permit contributors to insert iframes from the following list of external domains into pages on this site: If you chose this option, the user will be able to add iframes from the selected approved domains.

Here if you want to approve a new domain, then you can put the name and then click on ADD like below:

HTML Field Security in SharePoint 2019
HTML Field Security in SharePoint 2013/2016/2019

You may like following SharePoint 2013 tutorials:

I hope this SharePoint tutorial explains about HTML field security in SharePoint 2013/2016.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>