---
title: "Feature: Files only through their record"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1792040724@main"
source: "Changelog/1.0.0/Feature-1792040724-FilesOnlyThroughTheirRecord.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Files only through their record {#feature-1792040724}

## Description {#description}

Files are uploaded with `createFileUpload` and read with `getFileContent`, and only after the package that
owns the file decided that the caller may read the record it belongs to. A colleague who guesses the address of
someone else's file gets the same "not found" as for an address that does not exist. Files are streamed with headers
that keep a browser from running anything in them; a viewer can load a large PDF in parts, and only PDFs and images
are shown inside a page. An upload that no record took within a day is discarded. When HR or a manager opens a file
with personal data of someone else, that person sees it in their data access log. The company logo is the only file
anybody can load without logging in, from `getPublicFileContent`.

## Impact {#impact}

The web server needs to accept uploads of 25 MB (`upload_max_filesize` 26M, `post_max_size` 27M); ddev and
the test suites are set up so. Unlinked uploads are removed by a daily job at 03:00.
