Sandboxed Solutions and Security in WSS 4.0

Partial trust or "Sandboxed" solutions

Runs in a separate process

Everything in the WSP is deployed to a special repository managed by Central Administration. There is a new compilation model to support this repository (that you thankfully don't need to learn about, it "just works", though when the decks are released you'll see all the excellent secure detail).

PTS should be the preferred method of provisioning solutions

Sandboxed solutions are restricted by CAS and the API subset

Fully supported tooling in VS 2010

You can switch your project back and forth between PTS and Full Trust. Note that in Full Trust you can see where in the 14 hive your files will be deployed, which is valuable for new developers learning how SharePoint "works," and then switch back to PTS for packaging.

Sandboxed solutions are managed in Central Administration

Supported elements

Content Type, Site Columns

Custom Actions

Declarative WorkflowEvent receivers, feature receiversInfoPath Form Services[A couple others I missed]

Partially Trusted Solutions (PTS) can run in two modes

Local Mode
Execute code on WFE

Lower administration overhead

Remote Mode
Executes on back-end farm machine
Load-balanced distribution of code execution requests

Can create custom load balancers

 

Solution Monitoring

Farm Administrators set absolute limitsSite administrators identify expensive solutionsServer resources: CPU, Memory, SQL, Exceptions, Critical Errors, Handles, ThreadsYou can throttle an application with a Resource Quota so that after using up your “points” worth of resources in a day, you’re cut off. 
Solution Validators
Allow custom validation of a solution, installed at the farm scopeInstalled in a FeatureActivated eventOnce deployed, when you attempt to deploy a solution that breaks a validation rule, an error is displayed 
Published Monday, October 19, 2009 6:06 PM by erobillard

Comments

# Sandboxed Solutions and Security in WSS 4.0 - Eli Robillard's World of Blog.

Pingback from  Sandboxed Solutions and Security in WSS 4.0 - Eli Robillard's World of Blog.

# Sandboxed Solutions and Security in WSS 4.0 | I love .NET!

Pingback from  Sandboxed Solutions and Security in WSS 4.0 | I love .NET!

Monday, October 19, 2009 9:22 PM by SharePoint MVP Blogs

# Sandboxed Solutions and Security in WSS 4.0

Partial trust or "Sandboxed" solutions Runs in a separate process Everything in the WSP is

Tuesday, October 20, 2009 4:53 AM by SharePoint 2010. What is new? « W0ut SharePoint and .NET

# SharePoint 2010. What is new? « W0ut SharePoint and .NET

Pingback from  SharePoint 2010. What is new? «  W0ut SharePoint and .NET

Tuesday, October 20, 2009 6:13 AM by Confluence: SharePoint 2010 Development Wiki

# SharePoint Sandboxed Solutions

Sandboxed solutions also offer a way to build SharePoint Web Parts and deploy them to a site without needing administrative intervention—that is,...

# ARB Security Solutions » Sandboxed Solutions and Security in WSS 4.0 – Eli Robillard's …

Pingback from  ARB Security Solutions  » Sandboxed Solutions and Security in WSS 4.0 – Eli Robillard's …

# Financial Tides — A Stock Market Investing Newsletter by Jim Van … | Management Business Wisdom

Pingback from  Financial Tides — A Stock Market Investing Newsletter by Jim Van … | Management Business Wisdom

Leave a Comment

(required) 
(required) 
(optional)
(required)