Understanding the SharePoint Sandbox

Running code in an isolated process, called the sandbox, is a new feature in SharePoint 2010. Code running in the sandbox is prevented from accessing resources outside the sandbox through a series of proxies that regulate what APIs can be called successfully. This feature is referred to as either the SharePoint User Code Service or the SharePoint Sandboxed Code Service. This section explores the architecture of this service and how it can be used to manage the operations of the farm.

Here are some of the restrictions placed on code running in the sandbox:

  • Sandboxed code cannot access any SharePoint content outside of the site collection to which it is deployed. This includes resources on other SharePoint ...

Get Pro SharePoint 2010 Governance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.