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 7)

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 31–35

  1. 31foundation · easy

    Which attribute in ASP.NET MVC allows you to restrict access to a controller action to users in a specific role?

    Select an answer first
  2. 32application · medium

    An ASP.NET Web Forms application uses Forms Authentication. They need to allow only users in the 'Sales' role to access a specific page, but also allow users in the 'Manager' role. What is the correct authorization rule?

    Select an answer first
  3. 33application · medium

    A company runs an ASP.NET Web Forms application on IIS. They need to allow only users in the 'Sales' role to access the /Reports folder, while all authenticated users can access the rest of the site. They currently use Forms Authentication with a custom role provider. What is the most appropriate way to enforce this restriction?

    Select an answer first
  4. 34foundation · easy

    Which of the following is an example of implementing separation of duties in an application?

    Select an answer first
  5. 35foundation · easy

    Which of the following is a secure practice for storing user passwords in a database?

    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.