Monday, 14 May 2012

How to Disable Sandbox Solutions on your SharePoint site


What if you dont want your developers to add Sandbox Solutions in your SharePoint site or in your Office 365 site or If you just want to restict Sandbox Solutions to one Site colletcion or one web server. I will list out options to do just that. Lets look at the Options.

1. Restict Sandbox Solutions on a Site Collection - Sandboxed solutions can be enabled or disabled on specific site collections by adjusting their quotas. If you set the quota for sandboxed solutions to 0 on a specific site collection, sandboxed solutions will not run on that site collection. In this manner you can fine-tune the use of sandboxed solutions in your farm. You can do this in Central Admin -> Quota Templates. Create a Site Colletcion Quota and In "Sandboxed Soltuions with Code limits" set Limit maximum usage per day to 0.

Click On Image to see in Full Screen Mode.





2. Disable Sandbox solution on a server - You can decide to run sandboxed solutions only on certain servers in your SharePoint Server farm or on all servers. To enable sandboxed solutions on a server, you must enable the sandboxed solutions service. This service must be enabled on every server on which you want to run sandboxed solutions on. So if you want to restict Sandbox solutions on a Server you would just disable Microsoft SharePoint Foundation Sandboxed Code Service on that server.


Ads by Google

No comments:

Post a Comment