Anyone who has spent ten minutes looking for the padlock option in Files has been looking for something that doesn't exist, which is why so many of the guides on this subject end up recommending tricks. Some of those tricks protect nothing at all. Here's a ranking of the options by how much each one protects.
The short answer: a locked note or an app with its own lock
For a few documents or photos, use a locked note. For a lot of files, or files of any type, use an app that keeps its own storage behind its own unlock. Everything else on this page is a weaker substitute or a workaround with a catch.
| Rank | Method | Real protection | Catch |
|---|---|---|---|
| 1 | Vault app with its own unlock | Strongest, if the app is sound | Trust the developer; check export and recovery |
| 2 | Locked note | Good for a few files | Awkward for many; lose the password, lose the note |
| 3 | Password-protected PDF or archive made on another device | Good for a single file | Needs a Mac or other app; weak passwords can be guessed |
| 4 | Face ID app lock on Files | Stops casual looks | The whole app, not a folder; passcode fallback |
| 5 | Shortcuts-based flows or iCloud Drive folders | Little or none | They hide effort, not data |
Read the ranking by asking who you're keeping the files from. Against a curious friend with the phone in their hand, almost everything on the list works. Against someone who knows your passcode, only the first three do, because the others rely on the phone's lock, and that lock is exactly what the person already has. Against a thief, the phone passcode and Find My matter more than any folder trick.
Most secure option: an encrypted vault
A vault app is the one route that holds when the person knows your phone. The reason is structural: it stores files in its own container, locks them with a secret you choose, and keeps that secret separate from the phone passcode, so learning one doesn't teach the other. Everything else on this page either shares the phone's lock or has no lock at all.
Option 1: put the files in a vault app
An app that stores files in its own container behind its own unlock is the nearest thing iPhone has to a locked folder. Look for clear answers to three questions: where the files are stored, what unlocks them, and how you export them again. Check the App Privacy section of the listing too. The buyer's guide lists what to test before you commit anything you can't replace.
Option 2: lock the documents inside a note
The Notes app can lock a note with a password, and the note can hold photos, scans, PDFs and other attachments. It's the strongest thing built into iOS for this job, and it suits a handful of documents.
Step by step: lock files in a note
- Open Notes and create a new note. Give it a title that doesn't describe the contents.
- Add the files with the attachment button, or send them in from Files through the share sheet.
- Tap the More button (three dots), then Lock. Set a password, or use your device passcode if the screen offers it, and turn on Face ID if you want it.
- Tap the lock icon at the top of the note to hide its contents now. Until you do, or until you close Notes or the phone sleeps, the note stays readable.
- Delete the originals from Files or Photos, then clear them from Recently Deleted.
What a locked note protects, and where it stops
A locked note hides its text and attachments from anyone who opens Notes without the password, though the note's title stays visible in the list. Apple documents locked notes as encrypted, which makes the password the whole protection. If you chose the device passcode instead of a separate password, anyone who knows your phone code opens the note, so that choice decides how much the lock is worth. Test with a real file before you rely on it, because attachment handling has quirks. If you forget a separate password, Apple's reset leaves the old locked notes unreadable, so the content is gone. Keep the password in a password manager. For a longer comparison with vaults, see Notes lock versus a vault app.
Option 3: make a password-protected PDF or archive on a computer
The Files app can compress a folder into a zip but offers no password for it. If you need an encrypted file, make it on a Mac or other computer, such as by exporting a PDF with a password, then move it to the phone. On the Mac, Preview's export dialog offers a password option for PDFs; look under Permissions or Encrypt depending on your macOS version. Choose a long, random password, because a short one is easy to guess, and keep it in a password manager. Password-protecting a PDF covers this in detail.
Why the Files app says a password-protected zip is not supported
If you save an encrypted zip from a computer to your iPhone and tap it, Files may report that it can't open the archive. Its built-in extraction handles ordinary archives and has no place to type a password. To open the file you need an app that supports encrypted archives, or you open it back on a computer. A PDF with a password avoids the problem, since Files and Quick Look prompt for a PDF password directly. The protection level here is good for one file you'll send to someone, and awkward for a folder you open every day.
Option 4: require Face ID to open Files
On iOS 18 and later you can press and hold the Files icon and require Face ID. That lock covers all of Files rather than a single folder, the passcode opens it as a fallback, and it stops a casual look. Other apps' file pickers may still reach your documents. Locking the Files app shows how to test that.
Using a folder in iCloud Drive as a private folder
A common suggestion is to make a folder in Files under iCloud Drive and treat it as private. That's organization and nothing more. Files has no folder password, the folder is visible to anyone who opens the app, and it appears on every device signed in to the same Apple Account. Under standard iCloud protection Apple also holds the keys for iCloud Drive, which our guide to iCloud encryption and Advanced Data Protection explains. Steps: create the folder, move the files in, and require Face ID on the Files icon. You get a speed bump for a casual look. You give up any lock on the folder itself.
Option 5: Shortcuts and iCloud Drive tricks that don't protect anything
Guides sometimes suggest building a Shortcut that asks for a passcode before opening a folder. These add a step and no protection.
The problem with a Shortcuts-based folder lock
A Shortcut can ask a question and then open a file, but it doesn't encrypt the file it guards. The folder still sits in Files, and anyone can open Files directly and skip the Shortcut. Treat it as a way to avoid showing a folder to a child by accident, and nothing more.
Partial workaround: Screen Time restrictions
Screen Time can set an app limit on Files or another app and require a Screen Time passcode to extend it. That makes opening the app inconvenient for a borrower, but it limits an app and leaves the data itself unprotected, and anyone who knows or guesses the Screen Time code removes it. Call these speed bumps and plan accordingly.
What each method protects and what it leaves open
- Vault app. Protects the files from anyone without the app's unlock, including a person who knows your phone passcode. Leaves open the questions of what happens if you forget the unlock, how backups are handled, and whether you can export. Check all three before moving anything irreplaceable.
- Locked note. Protects the text and attachments of that note. Leaves open the note's title in the list, any copies you forgot to delete from Photos and Files, and the risk of a lost password. A shared note can't be locked, so keep sensitive material in notes you haven't shared.
- Password-protected PDF. Protects one document wherever it travels, because the password goes with the file. Leaves open the strength of the password, which is the whole defense, and the work of making it on a computer.
- Face ID on Files. Protects against a casual opener of the app. Leaves open the passcode fallback, other apps' pickers, and every other device that shows the same iCloud Drive.
- Shortcuts and plain folders. Protect nothing beyond making the files slightly less obvious.
The pattern across the list is that protection follows the container. When the lock belongs to a note, a PDF or an app, it travels with the thing you locked. When the lock belongs to the phone, it lasts only until someone has the phone open, which is exactly the situation people worry about.
Clearing out the originals so the lock means something
Moving a document into a protected place doesn't remove it from the place it came from. A scan that began in the Photos app is still in Photos. A file you attached to a note is still in Files if you attached it from there. Deleted photos and videos sit in the Recently Deleted album for 30 days before they're removed for good, so the copy you thought was gone stays one tap away until that period ends or you empty it yourself.
- Open the protected copy and confirm it opens and is complete.
- Delete the original from the app it came from.
- Open Recently Deleted in that app and delete the item there as well. In Photos you need to authenticate to see it.
- Check for other copies: an AirDrop received file in Downloads, an email attachment, a chat that you sent it to, and any iCloud Drive folder that syncs to a Mac.
- Repeat the stranger test from earlier on this page with the originals gone.
Keep in mind that iCloud keeps copies on other devices until deletion syncs through, so allow time and check the Mac or iPad if you use them.
A worked example: a year of tax and identity documents
Say you have a passport scan, last year's tax return, two insurance letters and a folder of receipts. About fifteen files, mostly PDFs, opened a few times a year. A locked note holds that comfortably: create one note per category, add the files, lock it, and delete the originals. The receipts, which you rarely need and which are low risk, can stay in an ordinary Files folder. The passport and tax return are the ones worth a real lock, and since you open them seldom, the friction of a separate password costs you almost nothing. If the same person also keeps hundreds of photos they'd rather not have family see, that's where a vault earns its place, because a note was never built for that volume. Our guide to storing tax documents on iPhone covers the document side in more detail.
What to check in any vault app before you move files into it
- Where do the files live, and are they outside the Photos library and the Files app?
- What unlocks them, and is that secret different from your phone passcode?
- Can you export every file at its original quality, and have you actually tried one?
- What happens to a backup of the app, and does the backup stay protected?
- What recovery exists if you forget the secret, and is that written down somewhere safe?
If an app can't answer these in its own documentation, treat it as a screen lock and move only files you could stand to lose.
Why a folder cannot carry its own password on iPhone
The Files app treats folders as organization. A folder has a name, a location and a set of contents, and nothing else, so there's no field where a password could live. Apple's protection works at the level of the device, the app and the individual file, which is why the useful answers on this page lock a note, wrap a file or move everything into an app with its own storage. Once you accept that the folder is the wrong unit, the options sort themselves out: the container is the part you can protect.
Choosing by what the files are
- A handful of scans and letters: a locked note, one note per category, with a password that differs from your phone passcode.
- One file you will send: a password-protected PDF made on a computer, with the password shared through a different channel.
- Hundreds of files of mixed types: a vault app with its own unlock and a tested export.
- Photos only: the Hidden album for casual privacy, or a vault for protection from someone who knows your passcode.
Setting up a vault app for documents, step by step
- Install the app and create the unlock secret on a day when you've got time to write things down.
- Record the recovery option at once and store it somewhere other than the phone.
- Import one test document, export it, and open it in another app to prove the round trip works.
- Move the real files in batches. Import copies each file and keeps the original, so once you've checked the copies, delete the originals from Files, Photos and Recently Deleted yourself.
- Add the vault to your backup routine, and test a restore on a spare device if you can.
The same steps apply to any app. What differs is how clearly the developer answers the three questions about storage, unlock and export. Our guide to locking the Files app covers the Face ID option on iOS 18 and later.
What a stranger holding your phone can reach
Picture someone who has your unlocked phone for five minutes. They can open Files and see every folder. They can open Notes and see the title of every locked note, though not its content. They can search Spotlight and see file names. They can't open a vault app without its unlock, and the names inside it don't appear in system search. That short walk through the phone is a better test than any feature list, because it asks what a real person could reach, and it works on every method here.
Is there anything on iPhone like Samsung's Secure Folder?
Not as a system feature. Samsung's Secure Folder belongs to its phones, and iOS has nothing equivalent built in, so the nearest options are the ones above. Samsung Secure Folder versus the iPhone explains the gap.
One practical test settles most doubts about any of these methods. Put one harmless file through the full cycle: protect it, delete the original, close the app, and then open it as if you were somebody else holding your phone. If you can't get back to the file without the secret, the method works against that visitor. If you reach it in two taps, you've found the weak point while the stakes were still a harmless file.
Which method should you use?
| What you are protecting | Method | Why it fits |
|---|---|---|
| A passport scan and a few documents | Locked note or vault | Small set, one-time setup |
| A single sensitive file you will email | Password-protected PDF made on a computer | Opens with the password alone |
| Hundreds of photos and videos | Vault, or the Hidden album if the risk is modest | Notes and PDFs don't scale |
| Work files you open daily | Vault, or Face ID on Files | Daily friction decides what you will actually use |
| A shared family drive | Separate private storage | A shared drive is not a privacy tool |
Mistakes that undo the lock
- Locking the note but leaving the originals in Photos, Files and Recently Deleted.
- Using your phone passcode as the note or vault secret.
- Forgetting that iCloud Drive and iCloud Photos copy files to every signed-in device.
- Skipping a test: open the locked item from the point of view of the person you're worried about.
The bottom line on password-protecting a folder
A folder can't carry a password on iPhone, so the useful question is where to put the contents. A locked note is the best thing built into iOS for a few documents. A password-protected PDF is the best answer for a single file you'll send. A vault app with its own unlock is the only route here that still holds when someone knows your phone passcode, provided you test its export and recovery before you rely on it. Face ID on Files and iCloud Drive folders are speed bumps, and Shortcuts flows hide effort and protect no data. Pick by who you're keeping the files from, remove the originals, and test the result as if you were the other person.
Questions people ask
Can I lock a folder in the Files app?
No. iOS has no per-folder lock. You can lock the whole Files app on iOS 18 and later, or store the files in something that has its own lock, such as a locked note or a vault app.
Why can't Files make a password-protected zip?
Files creates ordinary zip archives and offers no password option for them. To get an encrypted file, create the protected PDF or archive on a computer and then move it to your iPhone.
Is a locked note secure enough for documents?
It's reasonable for a handful of files, provided the password is strong and you won't lose it. It isn't built for large libraries, and a forgotten password can mean losing the note's contents.
Does iOS offer an equivalent of the Samsung Secure Folder?
No. Nothing in iOS matches Samsung's Secure Folder as a system feature. The closest substitutes are a locked note for a few items or a separate vault app for many.
How do I password-protect a PDF on iPhone?
Make the PDF with a password on a Mac using Preview's export options, then move it to your phone. Files and Quick Look ask for the password when you open it. Pick a long random password and store it in a password manager.
Can I password-protect the Files app?
Not with a separate password. On iOS 18 and later you can press and hold the Files icon and require Face ID, with the passcode as fallback. For a lock that differs from your phone, keep the files in a locked note or a vault.
Can I hide a folder in the Files app?
Files has no hide option for folders. You can keep a folder out of sight by moving its contents into a locked note or a vault app, but the folder itself stays visible to anyone who opens Files.
What is the safest way to store scans of ID documents on iPhone?
Keep them in a vault app or a locked note, remove copies from Photos and Files, and keep a separate backup you control. The guide on scanning ID documents covers the scanning side.
Do deleted originals stay on my iPhone after I lock a copy?
Yes, for a while. Deleted photos, notes and files sit in Recently Deleted for 30 days. Delete them there as well, and check other devices that sync the same library.
Sources