All jobs / Mobile developer / Security

Mobile developer interview question · 0–1 years

A partner API needs a secret key, and a teammate puts it in a constants file in the app. What do you say?

The strongest answer

Anything shipped inside the app can be read out of it, so that key is public the day we release. Call the partner from our own backend and let the app talk to our server instead

Why it works

Exactly — the client is not a place secrets can live, so the fix is architectural: the secret stays server-side.

What a good answer covers

Answers that fall short

Who gets asked this

More Security questions