A customer uploaded a document.
Who can open the link?

A photo of an ID card, two minutes ago. The upload works, the AI built it. Who else can open the link was probably never decided.

A case from the field, no names. One row from a decision record: the options, who decides, what each answer leads to, and what proves it holds.

What happened

A customer uploads a document: an ID photo, an invoice, a contract. The upload works, the link is saved. And the AI, to make it work fast, put it in a public bucket. The link is long and random, so it feels private. It isn't. Anyone the link reaches, in a forwarded email or a saved chat, opens the file.

Two questions decide it: what's in the file, and who besides the uploader needs to see it, and for how long. And a product photo or a logo? Public is exactly right. You decide by the file, not by what's convenient to build.

The decision. Two answers, two prices.

Public

Anyone who has the link opens the file.

The price. A link that was passed on opens the file for anyone, forever, and there's no way to know who opened it. In return: the simplest. Loads fast, shared without signing in. Right for product photos, not for documents.

Private

The owner sees it after signing in. Whoever needs it gets a temporary link.

The price. Generate a link on every view, decide how long it lives, and old links in emails stop working. In return: controlled sharing, even with an accountant or an agent, without opening it to the world.

Private can be opened tomorrow. Public can't be closed yesterday.

What the decision leads to

One decision, four places. This is what changes in each of them, whichever answer is chosen.

  • The storage structureA bucket per file type: public for product photos, private for documents. Not one bucket for everything.

  • The links in the systemWhat's saved in the database: a permanent address, or only the path, with the link generated on every view.

  • Who else is allowedAn agent, an accountant, a manager. Each of them is a rule enforced on the server.

  • What was already openIf the bucket was public for a single day, files may already have been copied. You close it, and assume whatever was open was exposed.

What was proven, and what not yet

This is how you know it holds:

  • A direct link to a private file, without signing in, returns an error

  • A temporary link stops working after the time that was decided

  • One user can't open another user's file, even when they have the path

Without the decision, this is what hasn't been proven yet. With the decision, this is the handover verification list.

Who decides

Who sees a customer's document is a business owner's decision, according to what's in the file. The AI chooses the way that works fastest, not the one that fits the document. And the Security skill checks exactly that, from the outside.

A junction like this? Diagnostic call

More cases

What are you building right now?

Write what the system does, and what has already happened in it that wasn't supposed to.

or on WhatsApp, if it's a single question. Nothing is stored on the site.