# Check that users can’t read each other’s data

> Every signed-in user may be able to fetch every row, and the app only hides it in the interface.

Web page: https://buildladder.com/resources/prompts/who-can-read-what

What you get: Each table tested as a stranger and as another user, with the access rules fixed where a test fails.

Paste it into: Your AI tool, in your project

## Prompt to copy

```text
Check whether one user of this app can read or change another user's data.

List every table and storage bucket, who should be able to read, create, change and delete rows in each, and what enforces that today: database rules such as row level security, server code, or nothing. Flag any table reachable from the browser with rules switched off or a rule that allows everyone.

Then prove it. Using test accounts only, try as a signed-out visitor and as user A to read and edit user B's rows, directly against the database API and not through the interface. Show each attempt and its result. Fix what fails, run the same attempts again, and never touch production data. If every table holds, say so. Don't invent findings.
```
