IT and OT security
How Beltr stays read-only
The layers that keep Beltr from writing to your source systems, what the connection test reports about an account, and how Beltr limits the load it puts on a source.
The layers
Section titled “The layers”Read-only does not rest on one check. Each layer works on its own:
- A read-only account. This is your part: give Beltr an account that can only read. Beltr creates nothing on a source to make itself work: no tables, no temporary objects, no settings that outlive the session.
- A read-only session, where the source has one:
- PostgreSQL: every operation runs in a read-only transaction, which the server enforces. Beltr reads the setting back before it sends anything else.
- DuckDB file: Beltr opens the file read-only, whatever the file’s permissions allow, and never changes it. The program that writes the file cannot open it while Beltr reads it.
- CSV files: Beltr opens the files read-only.
- ODBC: Beltr asks the driver for read-only access, but a driver may not confirm or enforce it. SQL Server has no read-only session unless the database itself is read-only. Read-only then rests on the account and on Beltr’s statement check, and the connection test says so.
- AspenTech inmation: a Web API has no read-only session. Beltr only calls the Web API’s read endpoints, and the account’s own permissions are the other layer: ask for an inmation profile with READ and LIST permission only. The connection test says Not confirmed for Read-only session.
- The statement check. Every statement passes Beltr’s guard for the source’s SQL dialect, whether Beltr built it or the assistant wrote it. The guard accepts one read-only query and refuses anything it cannot classify as one: writes, procedure calls, several statements at once, comments. No setting turns it off. An AspenTech inmation source takes no statements: Beltr sends it only a fixed set of requests (the server version, the sign-in, and reads of the tag list and history), with no free path or body. The assistant cannot write queries on it.
- One way out, recorded first. For each kind of source, one function sends statements, and it takes only statements the guard accepted. The exact text of each statement is written to the workspace’s
audit logAudit log The record of what Beltr did in a workspace, such as every statement sent to a source and every request to the model provider, kept in the workspace folder as a hash chain. before it is sent; if that fails, nothing is sent. The ODBC helper checks each statement again before it hands it to the driver. Each request to an AspenTech inmation Web API is recorded the same way before it is sent; the password never is. - The privilege report. The connection test asks the source which privileges the account has, from its catalog or from the file’s permissions. It never tries a write to find out. The inmation Web API does not report a profile’s permissions, so for that source the test says Could not verify.
What the connection test reports
Section titled “What the connection test reports”When you test a connection, the report shows how read-only it is. Here is the report of the demo plant’s source, a DuckDB file:


- Read-only session is Confirmed when the source runs every statement read-only and refuses writes, and Not confirmed otherwise. A sentence below it says what the source enforces, such as “The server enforces a read-only session; every statement is checked by the guard.”
- Read-only posture shows one of three results:
- Verified read-only: the source enforces a read-only session, or none of the privileges Beltr checked allows writing. When the privileges show no write permission, the detail says No write permission found. For a file that is itself writable, it says “The file itself is writable, but Beltr opens it read-only.”
- Account can write: the report opens with This account can change data on the source and “Beltr will only read, but ask your DBA for a read-only account.” The guard still blocks every write.
- Could not verify: “Could not verify the account’s privileges. Beltr will only read.” Some ODBC drivers give no way to list privileges.
Neither Account can write nor Could not verify stops you from saving the source.
How Beltr limits the load on a source
Section titled “How Beltr limits the load on a source”Even reads can slow a historian down. Beltr limits them in several ways.
- When Beltr contacts a source. Only when you test, save or sync it, when data is loaded or a query runs on it, at your request or the assistant’s, and for a health check while Beltr’s window is in front, at most once a minute per source. Opening a workspace contacts no source. Saving a source starts one look at what it holds, which reads bounded samples: at most 300 queries and 200,000 rows, plus, for a signal list it pairs with a history, one read of at most 100,000 rows.
- Queries need a time range. A query the assistant writes on a history table, or on another table Beltr found to hold timed data, must have a start and an end time. Without them the query is refused with “The query needs a time range”.
- Large reads ask first. The assistant asks you before a pull above the threshold in Settings › Approvals (Ask before a pull above, 2,000,000 rows unless you change it), or above the source’s own approval limit when that is smaller. A query the assistant writes is always shown to you before it runs on a source, whatever its size. See Approve what Beltr reads.
- Load limits per source. Each source in Sources has Load limits: Concurrent reads, Rows per second (0 means no pacing), Statement timeout (s), Lock timeout (s), Connection timeout (s), Rows per query, Query span (days), Ask for approval above (rows), Rows per pull, Bytes per cell, Bytes per result, and Quiet hours with a Quiet-hours threshold (rows). Limits apply to the next operation. Quiet hours use the site’s time; they do not schedule or defer reads.
Sources that changed outside Beltr
Section titled “Sources that changed outside Beltr”A workspace folder can be copied, shared or edited outside Beltr. Beltr records on this computer which sources you confirmed for which folder. A source that does not match is marked Needs your confirmation:
- “This source has not been confirmed for this workspace folder on this PC.”, for a folder that came from elsewhere, or
- “Where this source points changed since it was confirmed. Check the values before Beltr connects to it.”
Until you choose Review and confirm and confirm it, nothing contacts the source and its stored password is not read.
What Beltr cannot see
Section titled “What Beltr cannot see”An ODBC driver can send statements of its own, for example when it connects. Those statements are not Beltr’s: the guard does not see them and they are not in the audit log.