Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilCertified Application Security Engineer (.NET)

Domain 4Objective 2

Authentication and Authorization in Web Forms, ASP.NET Core, and MVC CASENET Practice Questions (Page 8)

Part of the Secure Coding: Authentication and Authorization domain, which makes up ~7% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~4–6 in this domain), expect 1–2 from this objective — we provide 41 practice questions to prepare you well beyond it. (estimate)

41questions here
9free pages
8concepts

Questions 36–40

  1. 36foundation · easy

    In a typical ASP.NET MVC application, which component is responsible for handling user login and logout?

    Select an answer first
  2. 37foundation · easy

    In ASP.NET MVC, which attribute can be applied to a controller or action to require that the user is authenticated?

    Select an answer first
  3. 38expert · hard

    An MVC application has a custom authorization filter that checks if the user has a specific permission. The filter is applied to a controller. However, the filter is not being executed for some actions. What is the most likely cause?

    Select an answer first
  4. 39application · medium

    A Web Forms application currently uses Forms Authentication with a cookie. The security team wants to ensure that the authentication cookie is not accessible via client-side script. What should be configured?

    Select an answer first
  5. 40expert · hard

    An ASP.NET Core MVC application has a controller action that allows users to view their own orders. The action currently uses [Authorize] and then fetches the order by an ID passed in the query string. A penetration test revealed that a user can view another user's order by changing the ID. What is the best fix?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CASENET” is a trademark of its owner, used for identification only.