Block or unblock a sandboxed solution (SharePoint Foundation 2010)
Aplica-se a: SharePoint Foundation 2010
Tópico modificado em: 2016-10-17
A sandbox is a restricted execution environment that enables programs to access only certain resources and keeps problems that occur in the sandbox from affecting the rest of the server environment. Solutions that you deploy into a sandbox, which are known as sandboxed solutions, cannot use certain computer and network resources and cannot access content outside the site collection they are deployed in.
A farm administrator can block a sandboxed solution. A solution that is blocked does not run. Each sandboxed solution is identified by a hash result of the solution code. If the solution code is changed and redeployed, it will be seen as a new sandboxed solution and will be allowed to run even if the original is still blocked.
For more information about sandboxed solutions, see Visão geral de soluções de área restrita (SharePoint Foundation 2010).
UNRESOLVED_TOKEN_VAL(SandboxSolutions)
In this article:
Block a sandboxed solution
Unblock a sandboxed solution
Block a sandboxed solution
You might need to block a sandboxed solution if it exceeds its typical resource usage or if it poses a security risk. To block a sandboxed solution, use the following procedure.
To block a sandboxed solution by using Central Administration
Verify that you have the following administrative credentials:
- You must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.
On the home page of the Central Administration Web site, click System Settings.
On the System Settings page, in the Farm Management section, click Manage user solutions.
On the Sandboxed Solution Management page, in the Solution Restrictions section, in the File box, either type the full path of the file that contains the solution to block or use the Browse button to browse for the file to block.
Optionally, type a message in the Message box. This message will be displayed when a user tries to use the solution.
Click Block.
The solution is added to the list in the Blocked Solutions box.
To block additional solutions, repeat steps 4 through 6.
Click OK.
Unblock a sandboxed solution
If the situation that caused a sandboxed solution to be blocked has changed and you want to unblock the solution, use the following procedure.
To unblock a sandboxed solution by using Central Administration
Verify that you have the following administrative credentials:
- You must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.
On the home page of the Central Administration Web site, click System Settings.
On the System Settings page, in the Farm Management section, click Manage user solutions.
On the Sandboxed Solution Management page, in the Solution Restrictions section, in the Blocked Solutions box, select the solution to unblock, and then click Remove.
To unblock additional solutions, repeat step 4.
Click OK.
See Also
Concepts
Visão geral de soluções de área restrita (SharePoint Foundation 2010)
Planejar soluções em área restrita (SharePoint Foundation 2010)
Enable sandboxed solutions on the farm (SharePoint Foundation 2010)
Configure load balancing for sandboxed solutions (SharePoint Foundation 2010)
Configurar as camadas do serviço de soluções de área restrita (SharePoint Foundation 2010)
Configurar os pontos de recurso para soluções de área restrita (SharePoint Foundation 2010)