PrepAway - Latest Free Exam Questions & Answers

What should you do?

You create Microsoft Windows-based applications. You create an application that requires the user to be authenticated by a domain controller. The application consumes Web services. During acceptance testing, you detect that for some users a security exception is thrown while calling a method. The users should have access to the method. The method contains the following lines of code.

[PrincipalPermission(SecurityAction.Demand,Role=Manager)] public void ApproveOrder(int ordered) {

}
You need to resolve this bug. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Ask an administrator to enable Windows Integrated authentication in IIS.

B.
Modify the code access security machine policies for the computer running the code such that the code is permitted to execute.

C.
Change the SecurityAction from Demand to Deny.

D.
Ask an administrator to add the users to the YourDomain\Manager group.

9 Comments on “What should you do?


Leave a Reply