Admin
The four things most firms need. Everything else is under Advanced. Click Publish policy when you're done.
1Model
The company default every employee uses. Computers with too little memory switch to a lighter model (change this under Advanced → Model).
2Features
Turn off anything your firm doesn't allow.
3Company rules
Rules every answer must follow, in plain words. One per line.
4People and protection
Security status
How well this workspace is protected right now. Green is on, amber needs attention.
Users
Add, suspend or remove the people who can use Insec. Changes apply the next time they open it, after you publish the policy.
Add a person
Add many at once
People (0)
The list is checked in each employee's browser, against the email from your company sign-in. For a block that cannot be bypassed, also remove or suspend the person in your sign-in provider (Cloudflare Access, Entra ID, Google or Okta). The list is part of policy.json, so keep the workspace behind sign-in so outsiders cannot read it.
Document permissions
Choose who can analyse and compare documents. Each person belongs to one group. People not on the user list, or without sign-in, use “Everyone”.
Permissions use the email from your company sign-in. Without sign-in, everyone gets the “Everyone” group. Like the user list, this is enforced in the browser: it controls what the workspace offers, and your sign-in provider remains the hard barrier.
Usage
How much your firm uses Insec. Always anonymous: only daily totals are counted. No names, no client data, no documents, no conversations.
Read key for another computer
The statistics are protected by a private read key, kept only in this browser. To see them on another computer, copy it there.
Policy history
Every version you publish is kept here with what changed. Restore any earlier version in one click.
Save the current settings as a version
Versions
History is kept in this browser. Download it to keep a copy or share it with a colleague.
Your workspace
How the workspace looks and what employees are told the moment they open it.
Company model
The model every employee uses by default. Every model is open-weights and runs on the employee's own computer, through the graphics card. Bigger models answer better but need more memory.
If a computer doesn't have enough memory
Some laptops can't run the company model. Choose what happens instead of failing.
What employees can use
Turn off anything your policy does not allow. Hidden features are removed from the workspace, not just greyed out.
Document size limit
Maximum characters of a document passed to the model. Small models work best under 6,000.
Search across many documents
Employees add folders or files and ask questions across all of them, for example "Which contracts end in the next 60 days?". Each person's index is built and kept on their own computer, encrypted. Nothing is uploaded, and no one else can see it.
Files that can be indexed
Only these formats are read. Old .doc and .xls files and scanned PDFs without text are always skipped.
Limits
Protects slower computers and keeps the index a reasonable size.
Rules shown to employees
Optional. Shown above the search box, e.g. "Only index client folders you work on."
What you can and cannot see
You see only anonymous daily counts in Usage (searches made, documents indexed). You cannot see anyone's questions, results, file names or documents, and neither can Insec. Each index is encrypted with a key that stays in that person's browser (or with their passphrase).
Modes
Each mode is a set of standing instructions. Write them the way you would brief a new colleague.
Templates
Ready-made tasks in the Templates menu above the message box, grouped by profession. Choosing one switches to the right mode; the employee pastes their content after the prompt.
Template packs
Turn on the packs that fit your firm.
Key terms to extract
The rows of the Key terms table in Documents, one per line. Adapt them to the documents your firm reviews most.
What gets masked
Applied in the Redact tool and, when the employee keeps the option on, before any document reaches the model.
Built-in detectors
Pattern-based detectors that run instantly. Card numbers and Portuguese NIFs are checksum-validated to avoid false positives. Names are caught after a title, or when they start with a common first name. Companies are caught by their legal suffix. Add unusual names and clients as terms.
Always mask these terms
Matter numbers or codenames for everyone. Matching ignores upper and lower case. Warning: these go into policy.json, which anyone who can open the site can read. Only use this when the workspace sits behind single sign-on. For client names, employees add them under Private terms in the Redact tab, where they stay in their own browser.
Test it
Runs the same code the workspace runs.
Sign-in, audit and sessions
The controls a security review asks for. Insec never receives any of this: sign-in runs through your identity provider and audit events go to an endpoint you own.
Single sign-on
Put the workspace behind your identity provider (Microsoft Entra ID, Google Workspace, Okta) with Cloudflare Access. The workspace then shows who is signed in and tags audit events with their email.
Session clearing
After this many minutes without activity, conversations, redaction mappings and open documents are wiped from memory. 0 turns it off. Employees can also press Clear at any time.
Roll it out
Insec has no servers. You host two static files on a domain you control, and every employee opens one link.
1. Your policy file
Save this as policy.json next to app.html. Changing it updates every employee on their next visit.
Copying or downloading saves this version in Policy history.
2. Lock the network (recommended)
This response header makes the browser itself refuse to send data anywhere except your domain and the model download. It is enforced by Chrome and Edge, not by us, so your security team can verify it.
3. Require sign-in (SSO)
Cloudflare Access puts your identity provider in front of the workspace, with no code.
- In Cloudflare Zero Trust, add your identity provider (Microsoft Entra ID, Google Workspace or Okta) under Settings → Authentication.
- Create a self-hosted Access application for
ai.yourfirm.comwith a policy such as "emails ending in @yourfirm.com". - In Security & audit, set the identity provider to Cloudflare Access.
4. Receive audit events (optional)
A tiny Cloudflare Worker on your own domain is enough (free tier, suits small and mid-size firms). It records the user verified by Access, which the browser cannot fake, keeps events for 90 days, and feeds the Usage page.
5. Publish
- Upload
app.html,app.js,defaults.js,policy.jsonand_headersto your intranet, or to Cloudflare Pages on a subdomain such asai.yourfirm.com. - Add the header above (Cloudflare Pages: a
_headersfile). - Send employees the link. No accounts, no installs, nothing for IT to package.
- For air-gapped networks, mirror the model files on your own server and remove the Hugging Face and GitHub hosts from the header.