What is Solution, Sandbox?

Solution:

  • solution is a deployable, reusable package that can contain features, site definitions, and other functionality.
  • Solutions can be enabled or disabled individually.
  • You can deploy a solution directly onto your SharePoint Server farm, or you can deploy the solution into a sandbox.

Sandbox:

A sandbox is a restricted execution environment that enables programs to access only certain resources, and that keeps problems that occur in the sandbox from affecting the rest of the server environment.

Sandboxed Solution:

Solutions that you deploy into a sandbox, which are known as sandboxed solutions, cannot use certain computer and network resources, and cannot access content outside the site collection they are deployed in.

Farm based Solution Sandboxed Solution
A solution package is deployed to the farm’s solution store, it is called a ‘farm solution’. A solution package is deployed to the solution store of a site collection, it is called a ‘sandboxed solution’.
The components in a farm solution generally run with full trust, although it is possible to deploy an assembly in a farm solution with a custom CAS policy that gives it less than full trust. The components of a sandboxed solution run under several significant code execution and resource access restrictions.
Only a farm administrator can install a farm solution. A site collection administrator can deploy a sandboxed solution.
Less resource restriction. Each sandboxed solution must conform to certain hard limits on the system resources that it can use.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s