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.
No comments:
Post a Comment