Skip to interview prep
Apexed

81. An AI feature would place a shared provider credential in browser-delivered code. What concern would you raise?

MediumApplication & data security

Technical
Show model answer

A service credential delivered to a browser cannot be treated as confidential from the client. Obscuring the value or checking the page's interface does not establish that only approved application actions can use it.

Use an authenticated server boundary or a provider-supported narrowly scoped client credential mechanism. Enforce user permissions, usage limits and data handling at the trusted boundary, and verify that the alternative does not become an unrestricted relay.

What interviewers listen for

  • Treat browser-delivered secrets as exposed
  • Use a supported trusted access boundary
  • Prevent an unrestricted credential relay
An AI feature would place a shared provider credential in browser-delivered code. What concern would you raise — Cybersecurity interview question — Apexed