nerdexam
CompTIA

CAS-002 · Question #887

A small company is developing a new Internet-facing web application. The security requirements are: 1. Users of the web application must be uniquely identified and authenticated. 2. Users of the web…

The correct answer is A. Use OpenID and allow a third party to authenticate users. OpenID delegates authentication to a third-party identity provider, allowing unique user identification without adding users to the company directory or storing passwords in application code.

Technical Integration of Enterprise Components

Question

A small company is developing a new Internet-facing web application. The security requirements are: 1. Users of the web application must be uniquely identified and authenticated. 2. Users of the web application will not be added to the company's directory services. 3. Passwords must not be stored in the code. Which of the following meets these requirements?

Options

  • AUse OpenID and allow a third party to authenticate users.
  • BUse TLS with a shared client certificate for all users.
  • CUse SAML with federated directory services.
  • DUse Kerberos and browsers that support SAML.

How the community answered

(19 responses)
  • A
    68% (13)
  • B
    5% (1)
  • C
    16% (3)
  • D
    11% (2)

Why each option

OpenID delegates authentication to a third-party identity provider, allowing unique user identification without adding users to the company directory or storing passwords in application code.

AUse OpenID and allow a third party to authenticate users.Correct

OpenID allows users to authenticate via a trusted external identity provider such as Google or Microsoft, so each user is uniquely identified and verified without needing an account in the company's own directory services. Because the identity provider handles all credential storage and verification, no passwords are stored in the application code, satisfying all three stated security requirements simultaneously.

BUse TLS with a shared client certificate for all users.

A shared TLS client certificate means every user presents the same certificate, making unique per-user identification impossible as required by requirement 1.

CUse SAML with federated directory services.

SAML with federated directory services requires users to exist in a federated identity store tied to an organizational directory, directly conflicting with requirement 2 that users will not be added to company directory services.

DUse Kerberos and browsers that support SAML.

Kerberos requires users to hold accounts in a centralized directory such as Active Directory and is not designed for Internet-facing web application authentication, violating requirement 2.

Concept tested: OpenID third-party authentication for Internet-facing web applications

Source: https://openid.net/connect/

Topics

#OpenID#federated authentication#web application security#identity management

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice