SharePoint 2010 comes with a great feature – Sandboxed Solution. This is type of solution which could be deployed to a site by a site administrator. A site administrator don’t need to be a farm administrator to deploy the solution. The solution have full access to the site where it is deployed but limited to other sites and resources for security reason.
This would be ideal for SharePoint Online services where you could create multiple sites and give user permission to manage and upload custom code to their site without needing assistance from farm administrator
To create a sandboxed solutions:
- Create a new SharePoint project in VS 2010
- On SharePoint Customisation Wizard, enter your Site URL. Select “Deploy as a sandboxed solution” as trust level
- Click Finish and start adding your artifacts to the project
- Build the solution and create WSP package
- Browse to your site
- Open Site Actions – Site Settings
- Under the Galleries section, select solutions
- On the Solution page, upload the solution
Now, you could add your artifacts(web parts, activate features) specific to your site
0 comments:
Post a Comment