Multiple choice technology databases

Which of the following setting deny anonymous access to a Web application?

  1. A. <authorization><allow users=”?”/></authorization>

  2. B. <authorization><deny users=”?”/></authorization>

  3. C. <authorization>< deny users=”*”/></authorization>

  4. D. <authorization><allow users=”*”/></authorization>

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In ASP.NET configuration, ? represents anonymous users, and * represents all users. The element explicitly prevents anonymous users from accessing the application, while allowing authenticated users. Distractors like explicitly allow anonymous access, and `` denies everyone.