Microsoft SharePoint Online

Disable code execution in Sandboxed Solutions for specific sitecollections

Code in Sandboxed Solutions can execute as soon the ”Microsoft SharePoint Foundation Sandboxed Code Service” is started on some server somewhere in your Farm. Sandboxed Solutions are hosted withing a specialized gallery within a SiteCollections’ top level website. The provisioning of this gallery is controlled by the GLOBAL SiteDefinition meaning each SiteCollection you create (whether this Sandboxed Code service is running or not) will contain this gallery and by this enable SiteCollection Administrators to Upload and Activate Sandboxed Solutions.  

So by default, when the Sandboxed Code Service is started, each SiteCollection whithin each WebApplication in your Farm is enabled to execute code in Sandboxed Solutions. Sometimes however you might want to disable the execution of code in Sandboxed Solutions on specific sitecollections while still allowing them to execute on other SiteCollections. There is no neat way to disable code execution from Sandboxed Solutions entirely on a specific SiteCollections. Maybe you’d expect to find a checkbox labeled “Disable Code Execution in Sandboxed Solutions”  somewhere under Site Collection Settings  in Central Admin but there isn’t.

This requirement could be achieved however by specifying a Quota Template and configure a specific SiteCollection to use it. Follow the steps below to specifiy a Quota Template effectively disabling Sandboxed code execution on a certain SiteCollection.

1. Open Central Administration

2. Browse to Application Management

3. Under Site Collections click “Specify Quota Templates”

4. Specify “Create a new quota template” and specify a name for it. Optionally you could start from an existing template here.

5. At the bottom of this page there’s a section with options to control Sandboxed Solutions called “Sandboxed Solutions With Code Limits”. Specify “0″ points in the TextBox labeled “Limit maximum usage per day to”

6. Click OK to save this template

7. Back on the Application Management Page, click “Configure Quotas and Locks”

8. On this Page, select the SiteCollection to apply the new quota template to

9. Under “Site Quota Information”, select the template just created

10. Click OK to save changes

Note that this will only block execution of custom code from within the Sandbox entirely. You are still able to provision declarative elements like List Instances for example to the Sandbox and use them without being blocked. I don’t think this is a problem however because otherwise the Site Collection administrator would have been able to create these kind of elements from within the browser or SharePoint designer anyway.

Tags: , ,

SIG netwerkdag 2010

Op 14 april vindt de SIG netwerkdag plaats in het meeting Plaza te Utrecht. Tijdens de middag sessie zal mijn collega Danny Burlge de inleiding verzorgen. Zijn onderwerp is “de SharePoint omgeving als “hybride” leer en werkomgeving.

Hierbij wat meer (achtergrond) informatie.

In 1999 startte SURF het onderwijsvenieuwingsprogramma: instellingen voor hoger onderwijs konden met subsidie van SURF ICT-vernieuwingsprojecten uitvoeren. In de afgelopen 10 jaar zijn ruim zeventig projecten uitgevoerd in door instellingen die hun vernieuwingskracht binnen de projecten bundelden. Het onderwijsvernieuwingsprogramma wordt in het voorjaar van 2010 geëvalueerd door een internationaal reviewpanel. Via een publieksprijs worden de beste onderwijsvernieuwingsprojecten genomineerd. De prijs voor de beste drie projecten wordt tijdens de SIG Netwerkdag 2010 uitgereikt.

De laatste jaren heeft er een verschuiving plaatsgevonden, van ICT als doel naar ICT als middel. Naar aanleiding van de evaluatie van het onderwijsvernieuwingsprogramma staat de SIG Netwerkdag 2010 in het teken van deze verschuiving. Het onderwijsvernieuwingsprogramma, dat gericht was op het onderzoeken van de mogelijkheden van ICT in het onderwijs, werd opgevolgd door het Nationaal Actieplan e-Learning. Projecten in dat programma gebruiken ICT om het studiesucces in het hoger onderwijs te verbeteren: projecten met een duidelijke strategische doelstelling.

Nu onderwijsvernieuwingsprojecten worden ingezet om bijvoorbeeld de kwaliteit van het onderwijs en het studiesucces van studenten te verbeteren, wordt de vraag interessant hoe (en of) je kan meten of je doelstellingen zijn behaald. Tijdens deze dag onderzoeken de SIG’s wat deze verandering voor hun eigen werkzaamheden betekent, en of en hoe onderzoek naar resultaten en effecten een plek kan krijgen in de planvorming.

Tom Dousma, manager van het Platform ICT en Onderwijs, stond aan de wieg van het Onderwijsvernieuwingsprogramma, en aan de wieg van het Nationaal Actieplan e-Learning. Ruim 10 jaar gaf hij leiding aan het platform. Met ingang van februari 2010 heeft hij het platform verlaten, en is hij gestart bij Studiekeuze123. Tijdens de SIG Netwerkdag zal op feestelijke wijze afscheid worden genomen van Tom Dousma.

10:00 uur – Inleiding: Onderwijsvernieuwing: van doel naar middel

10:45 uur – Pitch van 7 beste Onderwijsvernieuwingsprojecten naar aanleiding van publieksprijs

11:15 uur – Pauze

11:30 uur - Discussie in groepen over projecten uit het verleden, door de bril van toekomst

12:30 uur – Prijsuitreiking beste Onderwijsvernieuwingsproject

13:00 uur – Lunch

14:00 uur - SIG bijeenkomsten: Wat betekent “Onderwijsvernieuwing: van doel naar middel” voor de SIG?

16:00 uur – Plenaire presentatie van belangrijkste conclusies

16:30 uur –  Borrel, afscheid van Tom Dousma

Tags: , ,

SharePoint Online 2010

Op mijn persoonlijke weblog heb ik, voor iedereen die dat interessant vind, een blogpost gedaan over SharePoint Online 2010.