Finderlock logoFinderlock

Finderlock

File protection that lives in Finder.

Sign in
All posts
touch idmac securityencrypt foldersfile protection

Touch ID Lock Files on Mac: What macOS Can and Can't Do

Touch ID lock files on Mac: macOS has no per-folder option. Here is what it does cover, plus how Finderlock adds Touch ID to encrypted folders.

10 min read

macOS has no built-in way to put Touch ID on an individual file or folder. Touch ID works for logging in, unlocking certain apps, and (if you opt in) sudo in Terminal, but Finder offers no "require fingerprint to open this folder" setting. To get that behavior you need a third-party tool that encrypts the folder and gates the key with Touch ID, which is what Finderlock does on its paid plans.

What Touch ID covers on macOS

Touch ID is an authentication method that apps and system components can opt into. It is not a file permission. Here is where it applies on a stock Mac:

Where Touch ID works? Notes
Login window and lock screen Yes After a restart, or after too many failed attempts, macOS asks for your password first.
System Settings changes and admin prompts Yes Used in place of typing the admin password in many dialogs.
Passwords app and Safari autofill Yes Apple's Passwords app and Safari use it to reveal or fill saved credentials.
Locked notes in Notes Yes Locked notes can use your Mac login password or Touch ID, depending on your setup.
sudo in Terminal Optional Off by default. You enable it with pam_tid (steps below).
An individual file or folder in Finder No There is no per-item setting.
Encrypted disk images made in Disk Utility No They use a password you choose.

The last two rows are the gap. Apple's protections for ordinary files are mostly about the whole disk or the whole account, not about one folder you want to shut away.

Optional: enable Touch ID for sudo

This is the one place where you can extend Touch ID yourself without extra software. It only affects Terminal commands run with sudo. It does not protect files.

On recent macOS versions (Sonoma and later, as far as we know), Apple ships a template file that survives system updates. Editing /etc/pam.d/sudo directly can be overwritten by updates, so use the template instead.

  1. Open Terminal and keep this window open for the whole process.

  2. Copy the template into place:

    sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local
    
  3. Uncomment the pam_tid line:

    sudo sed -i '' 's/^#auth/auth/' /etc/pam.d/sudo_local
    
  4. Check the result:

    cat /etc/pam.d/sudo_local
    

    You should see a line like auth sufficient pam_tid.so without a leading #.

  5. Open a second Terminal window and run sudo -v. You should get a Touch ID prompt.

Warning: PAM files control authentication. A typo in the wrong file can lock you out of sudo. That is why step 1 says to keep the first window open: you can still fix the file from it. If the template file does not exist on your system, you are probably on an older macOS version, and the steps differ. Check Apple's documentation before editing anything.

Touch ID for sudo generally does not work over SSH, and inside terminal multiplexers like tmux it needs extra setup. Either way, this is a Terminal convenience, not a way to lock a folder.

What you can do natively for a single folder

If you want one folder protected without installing anything, you have two real options.

Option 1: an encrypted disk image

Disk Utility can make an AES-256 encrypted image from a folder.

  1. Open Disk Utility.
  2. Choose File > New Image > Image from Folder.
  3. Select the folder.
  4. Set Encryption to 256-bit AES and enter a password.
  5. Set Image Format to read/write if you want to add files later.
  6. Save, then double-click the .dmg and enter the password to mount it.

Warning: "Image from Folder" makes a copy. Your original folder is still sitting there unencrypted. Open the image, confirm the files are inside, and only then delete the original. Remember that deleted files go to the Trash and, on a Mac with an SSD, are not reliably wiped by simple deletion.

If you prefer Terminal, this creates an empty encrypted sparse bundle and prompts for a password:

hdiutil create -size 2g -encryption AES-256 -type SPARSEBUNDLE -fs APFS -volname Private ~/Private

This writes ~/Private.sparsebundle. Run man hdiutil to confirm the options on your macOS version.

The tradeoff is convenience. You mount the image, work, then eject it. If you tick the option to remember the password in your keychain when mounting, the image can open without typing it, but that depends on your login keychain being unlocked, not on a fresh fingerprint check each time. For a deeper comparison of this approach, see how to password protect a folder on Mac: 4 encryption options compared.

Option 2: FileVault

FileVault encrypts the entire startup disk. It is solid protection if your Mac is lost or stolen while powered off. It does nothing to separate one folder from another once you are logged in: anyone using your unlocked session sees everything. If you want to compare it with a per-folder approach, read the FileVault alternative page.

Where the built-in tools fall short

  • No per-folder biometrics. Nothing in Finder ties a fingerprint to a specific folder.
  • Unlocked means open. Once you are logged in, FileVault gives you no extra barrier between your files and someone at your keyboard.
  • Disk images are manual. They are encrypted properly, but mounting and ejecting is a habit you have to keep. Forgetting to eject leaves the contents exposed.
  • ZIP passwords are weak by default. Archive passwords vary by format and tool. We cover that in how to password protect a ZIP file on Mac.

To be fair to Apple, the built-in tools are free, well tested, and good at what they were designed for. Disk Utility images use real AES-256. The gap is the workflow and the missing Touch ID step, not the cryptography.

How Finderlock adds Touch ID to a folder

Finderlock is a macOS app (macOS 13.5 or later; the Finder right-click menu and badges need macOS 14) from finderlock.com. It encrypts each protected file or folder into its own container with AES-256-GCM (Apple CryptoKit), with a key derived from your password using PBKDF2-HMAC-SHA256 (150,000 iterations, random 32-byte salt), then adds the workflow around it.

The Touch ID part works like this:

  • When you choose Touch ID for an item, Finderlock stores a key in the macOS Keychain.
  • That Keychain item is created with a SecAccessControl policy using biometryCurrentSet.
  • To use the key, macOS requires a Touch ID match against the fingerprints currently enrolled on the Mac.

So Touch ID does not replace the encryption. It guards access to the secret that opens the encrypted container.

Set it up

Exact labels can differ between versions, so check the docs if something looks different.

  1. Install Finderlock from finderlock.com and open it.
  2. In Finder, right-click the file or folder and choose Protect.
  3. Choose Touch ID as the unlock method for that item (paid plans only).
  4. Confirm with your fingerprint when macOS asks.
  5. Later, right-click and choose Lock to seal it again, or Unlock to open it.

A locked item leaves a placeholder file at its original location. Double-clicking the placeholder unlocks it without opening the main app window, and you get a Touch ID prompt instead of a password field.

You can also set an optional app-wide master password, which gives you a 5-minute session so you are not prompted repeatedly. Auto-lock can trigger on inactivity or sleep. The Pro plan adds smart rules such as logout, user switch, screen saver and system lock.

The biometryCurrentSet caveat

This is the part to understand before you rely on Touch ID.

biometryCurrentSet ties the Keychain key to the exact set of fingerprints enrolled when the key was created. If that set changes, for example when you enroll a new fingerprint, macOS invalidates the key. Apple's documentation describes removal of an enrolled finger as invalidating it too. The invalidation is deliberate: it stops someone who briefly gains access to your unlocked Mac from adding their own fingerprint and then opening protected items.

It also means your own routine changes can break Touch ID unlock. After adding a finger, you should expect that:

  1. Touch ID will no longer open items that were set up with the old fingerprint set.
  2. You will need the fallback: the item's password or the recovery tool, which uses your master password.
  3. Your data is not lost, since the encrypted container itself is unchanged. What is gone is the shortcut key.

The practical advice is to set a master password and store it in a place you trust before you start relying on Touch ID. Do not treat the fingerprint as your only way in. If you enroll fingers often, check the docs for how to restore Touch ID after the change.

For more on how the app handles keys and the network (license check, optional analytics, updates and backups you choose are the only network use), see security.

Plans and what Touch ID costs

Touch ID is a paid-plan feature. The free plan protects up to 3 items with a password and does not include Touch ID.

Plan Protected items Touch ID Devices Extras
Free 3 No (password only) n/a Basic protect and lock
Personal ($49) Unlimited Yes 2
Pro ($99) Unlimited Yes 5 Bulk operations, smart auto-lock
Lifetime ($149) Unlimited Yes Unlimited Pro features plus secure shredding

Pricing is one-time. Secure shredding is limited to the Lifetime plan, and we do not promise it works on SSDs, because flash storage can remap data in ways overwriting cannot reach.

If you are comparing apps before deciding, best Mac encryption apps lays out the field.

FAQ

Can I lock a folder with Touch ID on a Mac without extra software?

No. macOS has no per-folder Touch ID setting. You can encrypt a folder with a Disk Utility image, but it uses a password you choose, not a fingerprint.

Does Touch ID work for locked notes?

Yes. Locked notes in Notes can be opened with your Mac login password or Touch ID, depending on how you set it up. This applies to notes only, not to files in Finder.

Is it safe to enable Touch ID for sudo?

It is a supported approach, but it edits an authentication file, so do it carefully. Use /etc/pam.d/sudo_local, keep a Terminal window open while you test, and do not edit PAM files you do not understand.

Why did Touch ID stop unlocking my protected items?

If you added or removed a fingerprint, a biometryCurrentSet key is invalidated by design. Use the item's password or the recovery tool with your master password to get back in.

Does Finderlock's free plan include Touch ID?

No. The free plan covers 3 protected items with a password. Touch ID starts on the Personal plan.

Next step

If you only need to protect one or two folders, Disk Utility is a reasonable free answer. If you want right-click locking, placeholder files, and Touch ID unlock, Finderlock has a free plan with 3 protected items so you can try the workflow with a password first, then upgrade if you want Touch ID. Whatever you pick, set a master password and keep a recovery path before you protect anything important.