I embedded a document library on my SharePoint site using a custom embed Web Part.
The embed code looks like this:
<iframe src="https://myorg.sharepoint.com/sites/mysite/Documents/Forms/AllItems.aspx?RootFolder=%2Fsites%mysite%2Fmyfolder" width="500" height="500"></iframe>
It works great.
However, I'd like to prevent users from exiting the
RootFolder. They can currently do so by clicking the navigation bar at the top.
Is this possible?