privacy

Your Filenames Are Personal Data Too

The names you give your files can expose health conditions, finances, legal troubles, and relationships — even before anyone opens them.

Most people worry about what’s inside their files. They encrypt the contents of their tax returns, medical records, and personal letters. But they leave the names of those files completely exposed — and those names tell a story.

A filename is not neutral. chemo-schedule-oct-2024.pdf, divorce-petition-draft-v3.docx, AA-meeting-times-chicago.txt, bipolar-diagnosis-questions-for-dr-hall.md — each of these reveals a deeply private fact about someone’s life before the file is ever opened.

Why Filenames Are Overlooked as Privacy Risks

There’s a natural cognitive bias at play. When we think about document privacy, we picture someone reading the contents. We imagine a data breach exposing the text inside a contract, the photos in a folder, or the figures on a balance sheet.

But filenames travel ahead of the content. They appear in:

  • File manager previews and thumbnails
  • Recent files lists on shared computers
  • Search indexes on operating systems
  • Cloud storage APIs and metadata endpoints
  • Backup logs and sync records
  • Email attachment lists before anyone downloads anything
  • Collaboration platform notifications (“Alice shared a file: divorce-final-settlement.pdf”)

Every system that processes your files sees the name first. Many systems log only the name — never the content. Your filename can end up in a server log, a compliance audit trail, or a cloud provider’s metadata database, even when the file itself is encrypted.

The Categories That Expose the Most

Not all filenames are equally revealing. These categories deserve particular care.

Health and Medical

Health filenames are among the most sensitive, because medical discrimination is still a real risk in employment, insurance, and relationships.

therapy-notes-jan.txt, ms-symptoms-log.csv, opioid-prescription-tracking.xlsx, miscarriage-paperwork.pdf — these names can expose diagnoses, treatments, and conditions that people actively protect in every other context of their lives.

The danger compounds when health documents accumulate over time. A folder called health/ with twenty files spanning a decade is a medical timeline, readable from the filename list alone.

Financial

Financial filenames expose wealth levels, debts, and financial struggles in ways that can affect relationships and create targeting risks.

bankruptcy-filing-docs/, debt-settlement-offer-creditor2.pdf, inheritance-split-siblings.xlsx, offshore-account-statements/ — these names carry context that few people would share voluntarily.

Even benign-sounding financial filenames can be sensitive in aggregate. A folder of monthly bank statement PDFs, named by date, tells anyone with access to the filename list exactly how many accounts you have and how long you’ve held them.

Legal matters are intensely private, and their filenames often name the parties involved.

restraining-order-james-henderson.pdf, custody-agreement-draft-2.docx, DUI-arrest-record.pdf, will-amendment-exclude-brother.docx — these names involve specific people and specific legal situations that carry social and legal consequences.

Family documents are similar. paternity-test-results.pdf, adoption-records-sealed.pdf, estrangement-letter-to-father.docx — these reveal family structures and conflicts that people discuss only with the closest people in their lives, if at all.

Identity and Immigration

Documents related to immigration status, identity verification, and legal residence are high-stakes.

visa-denial-appeal-letter.pdf, DACA-renewal-form.pdf, undocumented-support-resources.txt — these filenames could create serious legal or safety risks if they appear in a data breach, a shared drive, or a device that crosses a border.

Relationships and Sexuality

tinder-conversations-saved.txt, coming-out-letter-to-parents-draft.docx, cheating-evidence-screenshots/ — relationship and sexuality-related filenames reveal things people may not have disclosed even to people close to them.

How Filenames End Up in the Wrong Place

Shared Cloud Storage

When you share a Google Drive folder or a Dropbox link, anyone with the link can typically browse the folder’s file list — even files you didn’t intend to share. If a folder contains medical-records/, sensitive-2024/, and private-please-ignore/, those names are visible as soon as someone opens the shared link.

Collaboration Platforms

Slack, Teams, and similar platforms preview filenames when someone sends a file. The filename appears in the channel or DM before anyone clicks to download. A file sent to the wrong channel — or in a channel that’s more widely visible than you realized — exposes the name to everyone who can see that channel.

Search and Indexing

Operating system search indexes — Spotlight on macOS, Windows Search — index filenames. On a shared computer or a computer accessed by a repair technician, the search index reveals what’s on the machine without opening any file.

Some cloud storage providers include filenames in their search product. If you authorize a third-party app to connect to your cloud storage, that app may receive filename lists as part of its access.

Backup Software Logs

Backup systems log what they back up. Those logs contain filenames. If the backup software sends logs to a cloud endpoint — as many modern backup tools do — your filenames have now traveled to a third-party server, potentially unencrypted.

Breach and Leak Scenarios

In a data breach, encryption often protects file contents but not metadata. If an attacker gains access to a cloud storage provider’s metadata database, they may retrieve a list of every filename stored there, matched to account holders, without ever accessing the encrypted file contents.

Practical Strategies for Filename Privacy

The Generic Name Strategy

The simplest approach is to use generic, uninformative names for sensitive documents. Instead of chemo-schedule-oct.pdf, use medical-appointment-schedule.pdf. Instead of divorce-petition-v3.docx, use legal-document-review.docx.

You lose some self-organization convenience, but the privacy gain is significant. You can track meaning internally with a spreadsheet or notes file that maps generic names to contents.

The Date-Code System

For categories of sensitive documents, use a date-and-code system that’s meaningful only to you. MED-2024-10-17.pdf tells a stranger nothing. A private index file (stored securely) maps the code to the actual content.

Nested Obscurity

Folder names compound with filenames. documents/health/thyroid-condition/lab-results-march.pdf reveals more than records/2024-10/file-0047.pdf. Flatten the path and obscure the top-level folder names for your most sensitive documents.

Encrypted Containers

For very sensitive documents, store them inside an encrypted container (VeraCrypt, or a password-protected zip) with a generic outer name. archive-2024-q1.zip reveals nothing about what’s inside. The container itself should have a strong password.

Review Before Uploading to Cloud

Before uploading a batch of documents to any cloud service, scan the filenames. It takes a few seconds and can prevent years of regret.

Be Careful with AI Assistants

When you upload documents to AI tools that accept file uploads — including chatbots, document summarizers, and writing assistants — the filename is sent alongside the content. Some platforms log it. Some retain it. Review the service’s privacy policy before uploading anything with a sensitive filename.

What a Privacy-Respecting Storage App Should Do

A well-designed personal storage app should:

  • Store files without indexing filenames in any externally accessible location
  • Never expose filenames to third-party services without explicit consent
  • Allow you to rename files within the app without changing the underlying storage identifier
  • Not display filenames in sharing previews unless you specifically enable it

daftei stores your files with AES-256 encryption at rest and TLS 1.3 in transit, and never sells or shares your data. Filenames are part of your private record — not metadata available to advertisers, AI trainers, or third parties. Your 5 GB free tier is enough to begin building a genuinely private archive.

The Broader Point

Your files are more than their contents. The names, the dates, the folder structures, the modification timestamps — all of this is personal data. Privacy-conscious computing means thinking about all of that, not just what’s inside.

The next time you save a document, spend two seconds on the name. Ask yourself: if this filename appeared in a breach disclosure, in a shared drive notification, or on a screen someone else could see — what would it reveal?

That two-second habit is one of the cheapest privacy investments you can make.

Your memories deserve better than an ad platform.

Try daftei free →
← All posts