70-573 · Question #25
You have a custom Web Part that is deployed as a sandboxed solution. You need to ensure that the Web Part can access the local file system on a SharePoint server. You must minimize the amount of…
The correct answer is C. Redeploy the Web Part as a farm solution. MNEMONIC RULE: "Redeploy" Due to the heavy restrictions of sandboxed solutions, elevating the trust level is not an option, and neither isthe deployment of the Web Part to GAC. You can get broader permissions by using full-trust proxies, but it's not an option in this
Question
You have a custom Web Part that is deployed as a sandboxed solution. You need to ensure that the Web Part can access the local file system on a SharePoint server. You must minimize the amount of privileges assigned to the Web Part. What should you do?
Options
- ADeploy the Web Part to the Global Assembly Cache (GAC).
- BElevate the trust level to Full.
- CRedeploy the Web Part as a farm solution.
- DElevate the trust level to WSS_Medium.
How the community answered
(31 responses)- A16% (5)
- B6% (2)
- C74% (23)
- D3% (1)
Explanation
MNEMONIC RULE: "Redeploy" Due to the heavy restrictions of sandboxed solutions, elevating the trust level is not an option, and neither isthe deployment of the Web Part to GAC. You can get broader permissions by using full-trust proxies, but it's not an option in this
Topics
Community Discussion
No community discussion yet for this question.