Privacy and your data

This page is for laboratory heads, data stewards and research IT staff. Read it before you give Ingence a folder. It says what Ingence reads, what it writes and where, and when it uses a network. It also lists its limits.

In short

Ingence is a program you run on your own computer. It doesn’t need a server, a database service, an account or a key. It doesn’t use a language model or an outside service. It doesn’t collect any data about how you use it, and it doesn’t send any of your data anywhere.

  • Ingence never changes your files. It never moves, renames or deletes a file in a data folder. It never runs a program it finds there. It doesn’t add anything to a data folder, except a project folder if you choose to save the project there.

  • It uses the network only when you ask, in the three cases listed below.

  • After the first scan, Ingence works from the project alone. You can answer checks, use the Dashboard and press Re-run while the data folder is away.

  • It writes into a project folder you choose, and into the three other places listed below.

What it reads

First, Ingence lists your files (ingence index). It asks the operating system for each file’s name, size and dates, and for where each link points. It doesn’t open any file. You can stop it at any moment. A stopped listing doesn’t save a new scan, and the last finished scan stays in place.

Then, at Standard or Deep reading depth, it reads contents (ingence dive). It opens files read-only, within a time limit. It reads headers, instrument clocks, text, tables and the member lists of archives. Some of Ingence’s readers run in a separate process that Ingence watches, so one damaged file cannot stop the scan. Ingence finds an installed program by the names of its parts, and it never runs the program.

You choose how much it reads (Reading depth). If you make the project with ingence init --depth metadata, its scans don’t open any file. This sets only the project’s default. A later ingence dive --depth standard or --depth deep still opens files for that scan. Read someone else’s folder shows how.

What it writes, and where

Ingence writes in four places, and it doesn’t write anywhere else.

  1. The project folder. Here Ingence saves what it finds and what you decide. It holds one folder for each scan, which never changes afterward, and your answer log. It also holds your changes to the rules and the Dictionary, and your settings. You choose where it is. Ingence’s own folders inside it must be real folders. If one of them is a link to somewhere else, the project does not open. So Ingence never writes, moves or deletes anything through a link. To replace one of its own files, Ingence writes the new file beside the old one, under a new name.

  2. The system’s temporary folder, while it works.

  3. Files you ask for, such as an export, a report or a file of answers. Ingence refuses to write one inside a data folder of the project. It never replaces a file already at the name you give, unless you add --overwrite.

  4. A small settings folder for your user account. It holds the name the Dashboard saves your answers under, and a short list of the projects you opened recently. On macOS it is ~/Library/Application Support/Ingence, and on Windows %APPDATA%\Ingence. On Linux and other systems it is the ingence folder under $XDG_CONFIG_HOME where that variable is set, and ~/.config/ingence otherwise. The environment variable INGENCE_CONFIG_HOME, when set, names another folder to use.

Save the project outside the data folder. Ingence accepts a project inside the data folder, and every scan then leaves the project’s own files out. But the project folder is then the one thing Ingence adds to your data folder. For a folder that is not yours, always save the project somewhere else.

A project holds the names of your files and short extracts from inside them. An extract is, for example, text that a scan kept. Treat a project folder with the same care as the folder it came from. Do not send it, or a screenshot of it, to anyone you would not show the folder to.

When it uses a network

Ingence works offline. It uses a network in three cases, each only when you ask.

  • Installing or upgrading the package. Your package manager does this, from the public package index or from your own mirror.

  • Fetching a public archive’s list of files, with ingence index --fetch (Public archives). It sends one request at a time to the archive’s own server, with a pause between them. Each request names Ingence as its sender, and Ingence logs every request beside the list. If the archive answers “too many requests” or “service unavailable”, Ingence stops asking it for the rest of that scan. Ingence records any other failure against that study and goes on. It fetches the list of files, and it doesn’t fetch the files themselves.

  • Installing a pack from a web address, with ingence teach pack install https://... (Packs of words). Ingence fetches the address you typed, when you run that command, and never otherwise.

It doesn’t send anything anywhere else. It doesn’t send usage data or crash reports. It does not check for updates, so a new version arrives only when someone installs it.

The Dashboard (ingence see) runs a small web server on the loopback address 127.0.0.1. That address never leaves your computer, and other computers cannot reach it. The pages don’t load any script, font or image from anywhere. Everything ships with Ingence, so the Dashboard works with networking switched off. The Dashboard refuses a change that comes from another web page open in your browser. It also refuses any request made to a name other than its own loopback address. So another web page cannot read the Dashboard through your browser.

There is one limit. The Dashboard doesn’t have accounts or a sign-in. While ingence see runs, any program, and any person logged in to the same computer, can use it. That includes its landing page. The landing page lists the folder names inside any folder typed into it. It can also make a project and start a scan. Do not run ingence see on a shared server or workstation. Run it on your own computer. On a computer with several users, run it only while you are logged in, and stop it when you are done.

ingence see listens only on 127.0.0.1, and you can’t change that with an option. --port chooses the port. By default the system picks a free one, and Ingence prints the address. While the Dashboard runs a scan, it starts one helper process of Ingence’s own at a time.

When the data folder is away

Listing files and reading contents need the data folder. Each refuses a folder it cannot reach, before it writes anything. Everything after the first scan works from the project alone. Reading the saved names again (index --rebind) and infer work with a drive unplugged or a network share unmounted. So do answering checks, the Dashboard’s sections and Re-run.

The Dashboard reads the data folder itself in two cases only:

  • the first scan it starts from its landing page, which lists the folder you name and then scans it;

  • the check behind the reorganization planner in the Explorer (in Advanced). It asks the disk whether the files in a plan are still there, and their sizes and dates. It also asks whether a folder can be written to, and how much room is free. It doesn’t open any file, and it answers “unknown” when the folder is away.

You can always read the last finished scan, because Ingence saves a scan whole or not at all.

Language models

Every result names a rule, written in plain words, that anyone can read. Ingence doesn’t use a language model to read your files. You don’t need one to read what Ingence shows.

One optional part, the file-type detector (the detect part, not installed by default), is a trained program. It helps choose which reader opens a file. It only chooses the reader, and it never gives a result.

Limits

  • Servers keep their own logs. Ingence doesn’t change any file on a network share. It cannot stop a server from recording that Ingence read the share.

  • Folders that sync with the cloud (OneDrive, Dropbox, iCloud) may hold files that are only in the cloud. Such a folder may download a file when a program opens it. Listing files doesn’t open any file. Reading contents does. Use --depth metadata on such a folder until you have checked what your sync program does.

  • Security software sees the reads. Ingence opens files as any program does. Software that scans files as they open, and any auditing of file access, records those reads.

  • Ingence’s results can be wrong. They describe how your files relate. They are not scientific conclusions. The maintainer is still testing many rules.

Report a security problem

Ingence has one maintainer. Report a security problem privately, never in a public issue (Reporting a problem). The security policy says how. If something on this page doesn’t match what you see on your computer, this page or Ingence is wrong. Please tell the maintainer (Reporting a problem).