nerdexam
Microsoft

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

Developing SharePoint Solutions

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)
  • A
    16% (5)
  • B
    6% (2)
  • C
    74% (23)
  • D
    3% (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

#sandboxed solution#farm solution#file system access#trust level

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice