Learning on Web Dev Open is free for all.

AI-Native Products > Trust, cost and visibilityData boundaries and least privilege
Phase 08Trust, cost and visibility424 of 434

Data boundaries and least privilege

What the model may see, on behalf of whom, and where the check lives. Enforce it in code, at the retrieval layer, per request.

Build40 minAI implements

Build this in your own editor

This one runs on your machine rather than in the browser workbench. Work to the outcomes below, then come back and mark it complete.

You should now be able to

  • Enforce per-user permissions in a retrieval pipeline
  • Keep secrets and internal data out of a model context
  • Prove a user cannot reach another user data through the feature
Ask the community

Loading…