Pages

Tuesday, October 9, 2012

SharePoint 2010 : Sandbox Solution


There is a new type of solution- Sandbox Solution is a new concept introduced in SharePoint 2010. A sandboxed solution is custom code that runs in a safe sandbox. It runs under some standard non-negotiable restrictions, so it can only do certain things and is prevented from doing certain other things. Mostly those certain other things that cause the most headache.

For example If you have code that is more restricted, and better monitored, and less damaging to your server environment in general, you can be more confident when you deploy it. Thus the biggest advantage of sandboxed solutions is that they can be deployed by the site collection administrator of a site collection, and they are deployed directly into the solution gallery in a site collection. Also, if a sandboxed solution does not deploy an assemblies, it can even be deployed by individuals with full control to a site collection. This greatly alleviates the headache of the farm administrator.

·         Rights restricted process
·         Exposes only a sub-set of the Microsoft.SharePoint namespace
·         CAS policy limits functionality (For example: you may access SPSite and below only, you may not elevate)
·         We can use OpenXML with an event receiver to remove all comments from word documents uploaded to a site.

For more info:-

For Basics and detailed info http://blah.winsmarts.com/2009-12-SharePoint_2010_Sandboxed_Solutions__The_basics.aspx

Developing, Deploying, and Monitoring Sandboxed Solutions in SharePoint 2010  http://msdn.microsoft.com/en-us/magazine/ee335711.aspx

No comments:

Post a Comment