New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 60 Topic 7 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 60 Topic 7 Discussion

GSSP-.NET Exam Topic 7 Question 60 Discussion:
Question #: 60
Topic #: 7

You work as a software developer for ManSoft Inc. The company uses Visual Studio .NET 2005 as its application development platform. You use C#. NET to create an assembly that will be consumed by other Visual Studio .NET applications. No Permissions should be granted to this assembly unless the assembly makes a minimum permission request. You need to write a code for the assembly that makes a minimum permission request. Which of the following code segments will you use to accomplish this task?


A.

[Assembly: PermissionSet(SecurityAction.RequestOptional, Unrestricted = false)]


B.

[Assembly: PermissionSet(SecurityAction.PermitOnly, Unrestricted = true)]


C.

[Assembly: PermissionSet(SecurityAction.PermitOnly, Unrestricted = false)]


D.

[Assembly: PermissionSet(SecurityAction.RequestOptional, Unrestricted = true)]


Get Premium GSSP-.NET Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.