The short version
Webcam face match
Fast, and good against casual access. Not a defence against a video replay or a mask.
Hello / Touch ID
Dedicated biometric hardware. Make it the only everyday way in (your recovery key still works) when the threat is more than a curious person.
Encrypted files
XChaCha20-Poly1305 with a random 256-bit key. Your face is never the key.
FaceLock is a lock that sits on top of your Windows or macOS sign-in. It guards your laptop when it wakes, guards the apps you choose, and encrypts the files, folders and photos you choose. Everything runs on your laptop.
Face unlock and its limits
An ordinary laptop webcam sees a flat colour image. FaceLock enrols your face from seven angles, then matches several frames in a row and asks for a blink (or a blink and a head turn, if you choose “Blink + turn” in Settings › Face). In good light, a blink stops nearly every printed photo and most phone screens. In a dim room the camera’s grain can look like a blink, so a printed photo can sometimes get through Blink alone: choose “Blink + turn” there. With it the head turn must be a face FaceLock recognises as yours, seen turned by the camera: in our tests a printed photo of you facing the camera, held still, tilted, swung or turned, did not get in, in any light. It is slower than Blink and can need another try: it needs light on your face to see the turn, and a slow computer slows it more. A photo of you taken at an angle can still get through now and then (it reads as turned, and a swing can make it read as facing the camera too), and so can two different photos of you held up one after the other, a video of you, or someone who looks very like you. Or use Windows Hello or Touch ID.
A video replay of you, or a good enough mask, can fool any ordinary RGB webcam, whichever software is reading it. So FaceLock treats webcam face match as a convenience gate: a fast, pleasant way to keep casual hands off your things. It isn’t cryptographic proof that you’re you. If you need that level, make Windows Hello or Touch ID your only everyday way in (see below).
Unlock methods
| Method | Strength | Notes |
|---|---|---|
| Face (webcam) | Convenience | 7-angle enrolment, multi-frame match, blink check. |
| Windows Hello / Touch ID | Strong | IR face camera or fingerprint sensor, handled by the operating system. To make it the only everyday way in, untick Face and PIN under Settings › Protection › “Offer these on the lock screen”; your recovery key still works. |
| PIN | As strong as the PIN | At least 6 digits. Stored only as an Argon2id hash. |
| Recovery key | Strong | 24 characters, shown once at setup. Opens your vault here; with the recovery kit file, on any laptop. We never see either. |
How files are encrypted
- Real encryption, never hiding. Locking
photo.jpgreplaces it withphoto.jpg.flk, an encrypted file. Locking a folder encrypts every file inside it. - Cipher: XChaCha20-Poly1305 (authenticated encryption) in 64 KiB chunks using the STREAM construction, so a file can’t be truncated, reordered or tampered with undetected.
- Per-file random nonce. The original file name is encrypted inside the header.
- Crash-safe. FaceLock writes the ciphertext to a temporary file, flushes it to disk, decrypts it again and checks it against a BLAKE3 hash of the original. Only then does it rename it into place and delete the plaintext.
- Opening a locked item decrypts it into a temporary session folder. When you close it, go idle or put the laptop to sleep, FaceLock re-locks it and wipes the temporary copy. While a file is open, its plaintext exists on disk, just as it would with any editor.
Keys and secrets
- Your files are encrypted with a random 256-bit vault key. The vault key is kept in your operating system’s keychain (Windows Credential Manager or the macOS Keychain).
- Your face is never a key. Face, Hello / Touch ID and PIN only decide whether FaceLock releases the vault key.
- Your face template is stored encrypted with the vault key. Camera frames are never written to disk. The one exception is the intruder photo (on unless you switch it off), which is encrypted too.
- The recovery key opens the vault on this laptop at any time, also after an uninstall that deleted FaceLock’s data: FaceLock keeps a copy of its recovery data in the same keychain. On a new laptop, or wherever FaceLock no longer finds that recovery data, it needs the recovery kit file as well. Setup offers the file as Save recovery file…, and it is saved only where you choose, so keep it somewhere other than this laptop. The kit plus the key restore your vault anywhere, so a broken camera or a new laptop doesn’t strand your data. Skipped the file at setup? Settings › Careful › Make a new recovery key gives you a new key and lets you save its file. Keep both safe: anyone holding them can open your vault, and we can’t reset them for you.
FaceLock Safe: the five-level vault
The Safe is a separate place your photos, videos, files and folders are moved into, plus a password manager. It is stronger than file lock, and it asks for all five levels every time it opens. Two of the levels are gates; three of them are the encryption.
| Level | What you give | What it is |
|---|---|---|
| 1 · Face | The same webcam check as everywhere else, decided in FaceLock’s Rust core | A gate |
| 2 · Authenticator code | A 6-digit code from Google Authenticator or any authenticator app (TOTP, 30 seconds). Each code works once | A gate |
| 3 · Password | At least 10 characters; common, repeated and keyboard-run passwords are refused | One combined key |
| 4 · Secret question | One of 12 questions and your answer. To unlock you pick it again from all 12; FaceLock never shows which one is yours | |
| 5 · Three toys | Three of 25 toy pictures, in order, from a grid reshuffled on every attempt (13,800 possible orders) |
How the key is made
- Levels 3 to 5 are one secret. Your password, question, answer and toys go into a single Argon2id key derivation (256 MiB of memory, 4 passes, about a second on a laptop). There is no separate check for each level: anything wrong gives the same “One or more answers are wrong”, so they can’t be guessed one at a time.
- Bound to this laptop. The result is mixed with a 256-bit device secret kept in the operating system’s keychain. A copy of the Safe folder, or a stolen disk without your keychain, can’t even be attacked: every guess would also need that secret.
- Everything inside is encrypted with a random 256-bit Safe key using XChaCha20-Poly1305. The index (names, types and your logins) is one sealed blob, so nothing in the Safe folder is plaintext.
- Face and code are gates, not encryption. They are checked before the key derivation is attempted. The authenticator secret and face template are stored on this laptop, sealed with a keychain key. They stop someone at your keyboard; they don’t add to the encryption.
- Throttle. After 3 wrong tries at any level, FaceLock waits 30 seconds, then doubles the wait up to an hour. The counter survives a restart. If intruder photos are on, it takes one for each failure.
While it’s open
- Photos open in a built-in viewer, decrypted in memory. Videos stream decrypted chunk by chunk, with no plaintext temp file. The operating system may still page memory to disk (swap or hibernation).
- The Safe window is kept out of screenshots and screen sharing where the OS allows it (Windows 10 version 2004 and later; best effort on recent macOS). A phone camera pointed at the screen isn’t stopped by anything.
- It locks after 2 minutes without use, on minimise, sleep, screen lock, the panic hotkey, and whenever FaceLock itself locks.
- Passwords can be imported from a Chrome, Edge, Firefox or Bitwarden CSV export; FaceLock offers to delete the CSV afterwards. A copied password leaves the clipboard after 20 seconds if it’s still there. On Windows it’s kept out of Clipboard History and cloud clipboard; other clipboard managers may keep their own copy.
Recovery
At Safe setup you get a 24-character recovery code, shown once, and a recovery kit file (the code isn’t in the file). The kit, the code and a current authenticator code let you set all five levels again. A recovery re-encrypts everything under a new key and gives you a new kit and code, so the old ones stop working. Until then, the kit and code together can open the Safe on their own, so keep them apart and offline.
Without the recovery code, nobody can open your Safe, including HONCO. Its files live only on your laptop, with no cloud copy. If you forget a level and still have the kit and code, recovery works. If you lose them and then forget a level, the Safe is gone for good. Uninstalling FaceLock never deletes the Safe.
How strong is it, really?
Against a copied folder or a stolen disk: as strong as the 256-bit device secret. Against someone technically skilled who is already inside your unlocked Windows or Mac session: they can read the keychain, and then only levels 3 to 5 remain, at about a second per guess. Your password carries most of that weight (there are only 12 questions and 13,800 toy orders, and an answer someone can look up adds little), so make it a good one. Malware in your session can also watch what you type and what’s on screen.
If your licence expires, the Safe still opens and exports everything; only adding new items stops.
How each lock works
- Lid / wake lock: on resume from sleep, lid open, screen unlock or app start, FaceLock shows a full-screen, always-on-top cover on every display until you verify. It doesn’t replace the OS sign-in screen; that would need a Windows Credential Provider or a macOS SecurityAgent plugin, which we have deliberately not built.
- App lock: when a locked app launches or comes to the front, FaceLock suspends its process (Windows: suspends its threads; macOS:
SIGSTOP) and covers it. Verify, and it resumes. Cancel, and it’s closed. Core system processes can never be locked, so you can’t lock yourself out of your own desktop. - Walk-away lock (optional): while you’re unlocked, FaceLock checks the camera about once a second. If no face appears for the time you set, it locks the operating system.
- Shoulder-surfer alert (coming in a later version): if a second face appears while a locked app is open, FaceLock will blur the app.
- Intruder photo (on by default; you can switch it off): after two failed attempts, FaceLock saves an encrypted camera frame, the time and what was tried, and shows them at your next successful unlock.
- Panic hotkey: Ctrl+Alt+L (⌘+⌥+L on Mac) locks everything at once.
What it protects against
| Situation | FaceLock |
|---|---|
| Someone opens your laptop while you’re away | Covered: lid / wake lock |
| A colleague or family member opens your chats, mail or photos | Covered: app lock and file lock |
| Your disk, a backup or a USB copy of locked files is read elsewhere | Covered: files are encrypted |
| A copy of your FaceLock Safe folder, or your disk, is taken to another computer | Covered: the Safe is encrypted and bound to this laptop’s keychain, so it can’t even be guessed at elsewhere |
| Someone at your keyboard tries to guess their way into the Safe | Covered: five levels, one shared “wrong” message, and waits that double up to an hour |
| Someone glances over your shoulder at a locked app | Not yet: the shoulder-surfer alert is coming in a later version |
| A video replay or mask aimed at the webcam | Not reliably. Make Windows Hello or Touch ID your only everyday way in (your recovery key still works) |
| Someone technically skilled, using your laptop while your Windows or Mac account is signed in and unlocked | Not fully covered. FaceLock keeps its file key in your operating system’s keychain so your face can release it; a person at your unlocked desktop could pull it out with the right tools. Your Safe still needs levels 3 to 5 then. Lock your computer when you step away, or turn on walk-away lock |
| Malware running as you while you’re unlocked | Not covered. Nothing on your laptop can be, once you’ve unlocked it |
| Someone who knows your PIN or holds your recovery key | Not covered. Guard them like passwords |
| An administrator who stops FaceLock | App and lid locks stop. Locked files stay encrypted |
FaceLock adds to your operating system’s security; it doesn’t replace it. Keep a strong account password, keep your system updated, and turn on full-disk encryption (BitLocker or FileVault) as well.
What touches the network
Your face, camera frames, files and the list of things you lock never leave your laptop. The face models ship inside the app. FaceLock talks to facelock.io for two things only. The licence check sends your licence key, a device ID, your laptop’s name and its operating system, so one licence maps to one laptop; to start the free trial it also sends the email address you confirm with a 6-digit code. The update check, 30 seconds after FaceLock starts and then every 6 hours, downloads a public file that names the latest version and sends nothing about you. Licences are signed and checked offline, so FaceLock keeps working without a connection. See the privacy policy for the full detail.
When a licence expires, protection pauses until it’s renewed, but already-locked files, folders and photos always stay openable with your face, Hello / Touch ID, PIN or recovery key. Your data is never held hostage.
Cloud and Browser
FaceLock Browser is a standalone Chrome extension that matches faces locally. Its face check is Blink unless you choose “Blink + turn” on its page, with the same limits and the same cost as on a laptop. Its web-tab privacy lock does not protect Chrome settings, prevent uninstalling the extension, cover other profiles or replace the OS screen lock. Save your work before locking: navigating away can lose unsaved page state.
FaceLock Cloud verifies a signature from an email-enrolled device key after the extension performs its local face check and the user approves the company login. This is not hardware biometric attestation. Identity tokens explicitly carry a local-convenience assurance level; privileged and high-assurance actions need separate controls. Companies retain account linking, authorisation and management of their own existing sessions.
Each login uses an exact registered callback, a short-lived single-use code, PKCE and nonce/state checks. Face images, templates and third-party passwords are not accepted by the Cloud login API. A removed seat, disabled integration or suspended organisation cannot complete a new company login.
Reporting a problem
If you think you’ve found a security issue, please email info@facelock.io with “Security” in the subject. Include steps to reproduce if you can. We’ll reply, keep you updated, and credit you if you’d like. Please give us a reasonable chance to fix it before you publish. Our security.txt has the same details.