Skip to interview prep
Apexed

16. What authorization tests would you add for an API that returns saved resumes?

MediumIdentity & access

Technical
Show model answer

Use authorized fictional accounts to check the owner, another account, a signed-out caller, expired authentication, and any supported sharing permissions. Verify list and direct-object access, including update and deletion paths.

Assert that unauthorized responses reveal no resume content and that the server derives ownership from trusted identity. Do not test with real customer records or presume that a successful list filter protects direct object URLs.

What interviewers listen for

  • Owner and cross-owner cases
  • Test every relevant action
  • No sensitive content on denial
What authorization tests would you add for an API that returns saved resumes — Cybersecurity interview question — Apexed