01Start the app and add it to Word and Excel
Open Secure Automation from the Start menu. It starts its local engine in the background and opens on the Mask tab. The other tabs are Rehydrate, for putting original values back, and Policy & audit, for settings.
Word and Excel documents are masked inside Word and Excel themselves, with the Secure Automation sidebar. The first time you open the app, an orange card offers to add it:
Once it is on, Word and Excel show a Mask document button in a Secure Automation group at the right of the Home tab. It opens the sidebar.
02Mask a Word document
- Open the document in Word and save it. The scan reads the saved file, so the sidebar offers to save unsaved changes first.
- Click Home → Mask document, then Scan this document.
- Review the highlights. Yellow will be masked, grey is kept. Each row in the list is one kind of value: its type, its format or the value itself, how many there are, and the words or column header around it. Untick a row to keep that kind of value; click a row to jump to its next match.
- Click Create masked copy. A copy named
<name>.masked.docxis written next to the original and opened.
[ORG_1] or [LOCATION_1]. The same value gets the same placeholder everywhere, and the layout, tables and formatting stay as they were.The original file is never changed. Highlights are removed when you close the sidebar or create the copy, and your row choices are remembered for the next document like this one.
03Mask an Excel workbook
The steps are the same as in Word: Home → Mask document, Scan this document, review, then Create masked copy for <name>.masked.xlsx.
In a workbook the sidebar groups rows by column header, so a sheet with a Date of Birth column shows one row for it, however many patients there are. A title banner above the header row is recognised as such, and header cells are never masked; they name the placeholders instead, as in [DATE_OF_BIRTH_1].
04Edit masks: mask more, or less
Click Edit masks, select something in the document, then choose what to do with it. You can select as much as you like.
| Button | What it does |
|---|---|
| Mask it | Masks the selection. A single value (a word, name, ID or short phrase) is masked everywhere it appears. Paragraphs, a whole table, rows, columns or a range of cells are masked just there, each line or cell as its own item. |
| Don't mask it | Keeps everything the selection touches. A single value is kept everywhere it appears. |
| Mask all like it… | Previews in blue every value written the same way, for example every ID shaped like INCA1234. Click Add to mask to keep the preview. Leave close formats too ticked to also catch values one or two characters longer or shorter. |
In Excel, click a column's letter to select it. Pressing Ctrl+Space in a column under a merged title banner makes Excel select every column the banner spans.
05Mask pasted text
- On the Mask tab, paste into Or paste text (or click Paste from clipboard) and click Review pasted text. Text, CSV and Markdown files open the same way.
- Click a highlight to switch it between masked and kept, click a line number to mask or keep the whole line, or select any text to mask it everywhere. Under Choose what to mask, add a rule for a keyword or a
re:pattern. - Pick the placeholder style under Output: tokens such as
[PERSON_1], or realistic fake values. Then copy the masked text into your model.
4471-2093, circled, was not: it has no familiar label or format. This is the moment to mask it yourself.Mask what the scan missed
The scan is a fast first pass, and you are the second one. You know your documents: which numbers are record IDs, which code names point to a study, which phrases only make sense inside your organisation. Masking these yourself before you share is the step that turns a good result into a safe one.
Three ways to mask something yourself, from quickest to broadest:
- Select it. Highlight
4471-2093in the review and it is masked everywhere it appears. In Word and Excel, use Edit masks → Mask it. - Add a rule. Under Choose what to mask, type the keyword or number and click Add rule. Every occurrence is matched, ignoring case.
- Catch the whole pattern. Start the rule with
re:to mask everything shaped the same way, for examplere:\d{4}-\d{4}for every record number in this format. In Word and Excel, Mask all like it… does the same from one example.
Read the whole document once before you share it, looking for anything not highlighted that could identify a person, a site or a study: record and account numbers, internal codes, rare conditions, free-text comments.
06Restore the original values
The model's answer, or a document it edited, contains the placeholders. Secure Automation swaps them back for your eyes only, on this computer.
Pasted text
Open the Rehydrate tab, paste the answer and click Restore original values. Leave the session on Find automatically: the app works out which masking session the placeholders came from. Pick a session from the list only if it chooses the wrong one.
Word and Excel files
- On the Rehydrate tab, click Restore Word / Excel file, or drop a
.docxor.xlsxon the tab. - Or open the masked file in Word or Excel and click Restore original values (masked copy) at the bottom of the sidebar.
The file can be the masked copy itself or a version that a model or a colleague edited. A restored copy named <name>.restored.docx or .xlsx is written next to it and opened. Placeholders are replaced where they stand, so tables, cells and formatting are kept. Placeholders that no masking session on this computer knows are left as they are and counted.
A restored file contains the original values. Keep it on your computer and do not paste it back into a remote model.
07Settings and privacy
The Policy & audit tab shows the active policy and rule packs, whether name recognition is on, how long the vault keeps mappings, and the audit log. It is also where you choose the theme, turn the Word and Excel sidebar on or off, and add Review with Secure Automation to the File Explorer right-click menu.
- The vault. Mappings from placeholders to originals are kept in an encrypted SQLite vault under
%LOCALAPPDATA%\SecureAutomation, with its key protected by Windows for your account. - Remembered choices. Your row decisions are stored encrypted in
learned-patterns.datin the same folder. Delete that file to start over. - The audit log records what was masked by type and count, never the values.
- Nothing leaves the computer unless you copy masked text or send a masked file somewhere yourself.
08Reference and limits
Placeholders
| Placeholder | Stands for |
|---|---|
[PERSON_1] | A person's name, with titles and credentials kept together (Dr. Eleanor M. Vasquez, MD, PhD). |
[ORG_1], [LOCATION_1], [ADDRESS_1] | Organisations, places and street addresses. |
[DATE_1], [PHONE_1], [EMAIL_1] | Dates, phone numbers and email addresses. |
[DATE_OF_BIRTH_1] | In a spreadsheet, the column header names the placeholder. |
[CARD_REDACTED] | A payment card number. It is removed for good and cannot be restored. |
Keyboard
| Keys | Action |
|---|---|
| Ctrl+O | Open a document |
| Ctrl+S | Save, when reviewing text |
| Ctrl+Shift+S | Save as, when reviewing text |
Limits
- Masking reduces re-identification risk but does not remove it. Combinations such as age, postcode and a rare condition can still point to one person.
- Detection can miss or misread values, especially unusual names, and IDs written without a label or a familiar format. Review every document before you share it, and mask what the scan missed yourself.
- PDF files, scanned images and handwriting are not covered in this release.
- If the engine is not running, the sidebar scans with rules only and says so in a yellow banner. Open the app once and scan again for name detection. Copies masked on the fallback cannot be restored.