Guide · Documents and IDs

Can you lock a folder in the Files app on iPhone? Four workarounds

No. The Files app can make, move, tag and compress folders, but it has no option to put a password on one. You can lock the whole Files app, put a password on each PDF, keep text in a locked note, or move the files into an app with its own lock, such as a vault. Each way covers something different, so pick by what you are guarding against: a person holding your phone, or a copy of the file.

Last checked

On this page

What Files can do with a folder

Apple’s guide to organizing files lists what you can do when you touch and hold a file or folder: Copy, Move, Compress, Duplicate, Delete, Rename, add Tags, or mark it as a Favorite. A lock is not on the list, and there is no setting for one. So a folder in Files is open to anyone who can open the Files app.

That leaves four workarounds. They protect different things.

Workaround Guards against Leaves open
Lock the Files app Someone scrolling through your unlocked phone Anyone who knows your iPhone passcode
A password on each PDF A copy of that one file Every file that isn’t a PDF
A locked note Someone opening Notes Notes with PDFs or other files attached can’t be locked
A vault app Both a person and a copied file Copies you leave behind in Files

Workaround 1: Lock the whole Files app

Touch and hold the Files icon on the Home Screen, tap Require Face ID, and confirm. To lock an app, touch and hold it on the Home Screen and tap Require Face ID, Touch ID or Passcode, and it locks again each time you quit it.

It locks every folder at once, which is also its weakness: there is no way to lock one folder and leave the rest open. And your iPhone passcode still opens it. Apple lets you require Face ID, Touch ID or your passcode to open an app, and says information inside a locked app won’t appear in other places such as CarPlay, notification previews, search, Siri suggestions or your call history. The full picture is in How to lock an app with Face ID.

Workaround 2: A password on each PDF

The Preview app can put a password on a PDF (iPhone User Guide). It works file by file, so it suits a handful of important PDFs, not a folder of photos and spreadsheets. The steps, and what Apple’s page does and doesn’t promise, are in How to password-protect a PDF on iPhone.

Workaround 3: A locked note

Notes can lock a note with a password, but not every note. Apple says you can’t lock notes that have tags, PDFs, audio, video, or Keynote, Pages or Numbers documents, or notes you share with someone else. So a scanned page saved as a PDF inside a note rules out the lock. Notes suits a few lines of text, not a folder of files.

Workaround 4: Move the files into a vault

A vault app keeps files in its own store, behind its own passcode, and encrypts them. In Sealed, importing documents is part of Sealed Pro:

  1. Tap the plus button, then Files & Documents, and pick the files from Files. The plus button at the top of the vault opens a menu with Photos, Files & Documents, Private Camera, Scan Document, Voice Memo, From Computer (Wi-Fi), From Contacts, New Note and New Record.
  2. A PDF or other file that is not a photo, video or audio file becomes a document in the vault, with a thumbnail that is sealed too, and you find it under Documents.
  3. Open a few in the vault to check them.
  4. Go back to Files and delete the originals, or the folder is still open there.

Each file gets its own random 256-bit key, and that key is sealed with your vault key. Sealed Pro can scan paper with the camera, or import PDFs and other files, into the vault. Files app vs Sealed sets the two side by side.

A note on iCloud Drive

A folder in iCloud Drive is copied to Apple’s servers and to your other devices. Apple says that with standard data protection, iCloud data is encrypted but the keys are kept in Apple’s data centers (iCloud data security overview). If that matters for a folder, keep it on the iPhone, turn on Advanced Data Protection, or move the files into an app that encrypts them before they leave the phone.

Where Sealed helps, and where it doesn’t

It helps because each file is encrypted, behind a passcode that isn’t your iPhone’s. Each file gets its own random 256-bit key, and that key is sealed with your vault key. Sealed has a passcode of its own, a gate inside the app that is separate from your iPhone passcode.

It helps with a lock per group of files, too. Each stack can have its own lock, and stack locks are part of Sealed Pro.

It doesn’t empty the folder in Files. Importing adds a sealed copy, and you delete the originals yourself. You can add photos from Photos, files from Files, and items from the share sheet of other apps.

It doesn’t keep documents on the free plan. On the free plan you can add photos. Videos, documents, notes and records need Sealed Pro.

Questions and answers

Can I put a password on a zip file in Files?

The Files guide describes Compress and Uncompress for a file or folder, and mentions no password. A vault or a locked PDF is the safer route. The Preview app on iPhone can lock a PDF with a password, which Apple describes as a way to prevent others from editing or deleting your work.

Is a folder in iCloud Drive encrypted?

Yes, but by default Apple holds the keys. By default, Apple keeps the encryption keys for iCloud Photos, Notes and iCloud Drive in its own data centers so that it can help you recover them, and only the optional Advanced Data Protection makes them end-to-end encrypted.

Can Sealed import a whole folder from Files?

You can add photos from Photos, files from Files, and items from the share sheet of other apps. A PDF or other file that is not a photo, video or audio file becomes a document in the vault, with a thumbnail that is sealed too, and you find it under Documents. On the free plan you can add photos. Videos, documents, notes and records need Sealed Pro.

Sources

What this page says about Sealed was checked against the app on .

Last checked:

Get Sealed

Sealed is free to download, and Sealed Pro is an optional in-app purchase.