Security policy
Supported versions
Section titled “Supported versions”| Version | Supported |
|---|---|
| 1.x | Yes |
| Earlier than 1.0 | No |
Security fixes are released as new 1.x versions. Run the latest one.
Reporting a vulnerability
Section titled “Reporting a vulnerability”Please do not open a public issue, pull request or discussion for a security problem. Report it privately through GitHub:
- Open the Security tab of akkio-inc/Igloo.
- Click Report a vulnerability (direct link).
Include the Igloo version, how it is deployed, steps or SQL that reproduce the problem, and what an attacker could do with it.
The maintainers will acknowledge the report, work with you on a fix in the private advisory, and publish the advisory when the fixed release is out. We credit reporters in the advisory unless you ask us not to.
Vulnerabilities in components Igloo builds on (DuckDB, Lakekeeper, PostgreSQL, RustFS) belong with those projects. Tell us as well if Igloo’s defaults or deployment files make one exploitable.
Security model
Section titled “Security model”A short summary. docs/configuration.md is the full reference for every setting mentioned here.
- Authentication. Clients sign in with SCRAM-SHA-256, the PostgreSQL
default, so passwords are not sent over the connection. The first
administrator is created on first start from
IGLOO_ADMIN_PASSWORD, which must have at least 16 characters and not be a placeholder such aschange-meor easily guessed (the deployment files generate 32). Users and roles are stored in the PostgreSQL database named byIGLOO_METADATA_DATABASE_URL. After 10 failed logins for a user, or 50 from an address, in 15 minutes, each replica refuses further ones for a while. Disabled users (NOLOGIN) cannot sign in by any means, and their sessions end. Changes to users, their tokens, roles and grants, and to policies and ID domains’ members, reach open sessions on other replicas within 30 seconds; a replica that cannot read the metadata database goes on with what it read last for at mostIGLOO_ACCESS_MAX_STALENESS(2 minutes by default), then refuses statements until it can read it again. - Access tokens (details) stand in for
passwords in SQL clients. They are 256-bit random secrets with an
igloo_prefix, shown once and stored only as a SHA-256 hash and SCRAM keys; SQL logins with them use SCRAM, so the token does not cross the network, and hashes are compared in constant time. Every token expires (90 days by default, at mostIGLOO_TOKEN_MAX_LIFETIME); its use is recorded; revoking it ends its sessions within 30 seconds (or, on a replica that cannot read the metadata database, stops their statements afterIGLOO_ACCESS_MAX_STALENESS). A session that signed in with a token, or a task, cannot create tokens for its user or set its password; an admin’s token can still do anything an admin can. Tokens do not sign in to the web console. Service accounts have no password and only admin-made tokens. - Single sign-on (details) to the web console uses
OpenID Connect’s authorization code flow with PKCE, with state and nonce
checked in constant time, and verifies the ID token’s signature against
the provider’s published keys, its issuer, audience and expiry. The
issuer must be
https. Identity provider accounts are matched to users by their stable subject, then a verified email, and never by name to a user with a password; allowed domains and groups limit who may sign in. No code, token, state or verifier is logged or put in a URL Igloo makes. Optionally, identity provider access tokens are accepted as SQL passwords, only inside TLS and for users without a password, after the same verification with a configured audience; with that on, whether a user has no password can be told from the login. SCIM provisioning, with single sign-on, accepts only access tokens of admins as bearer tokens, inside TLS (or atlocalhost); it can create, change and disable people and their groups, never service accounts, and never disables the last enabled admin who is a person. Its token is a full admin credential in SQL too. - Roles. Every user has one built-in role.
admincan do everything, including managing users, roles and grants.writercan read and write tables and create and drop tables and schemas.readercan read tables.nonecan do nothing on its own. Each statement is checked before it runs, using DuckDB’s own classification of the statement plus its SQL code (never its comments or literals); anything Igloo cannot classify needsadmin. The statements of a query with several run one at a time, each checked as if sent alone; a prepared statement holds only one for non-admins (DuckDB’s own expansion of aPIVOTin aSELECTaside, whose generated query is checked first). SQL with a NUL in it is refused, since DuckDB would read it only up to the NUL. Non-admins’SETcommands apply to their own session only. Only admins may change DuckDB’s own database,memory, where each replica keeps its copies of the catalog’s views that every session reads: Igloo resolves the object a statement creates, changes or drops as DuckDB does, through the session’s current database and search path, and refuses it there whatever the statement’s text says; non-admins cannot makememorytheir current database withSET search_path, and a writing statement whose target Igloo cannot tell is refused.COPY ... TO STDOUTis checked as the query it runs. No one, admins included, may run SQL built from strings (query(),json_execute_serialized_sql()), which a check of the statement’s text cannot see into, or move the read cache or change what it caches; its other functions and settings, andquery_table(), are limited to admins.query_table()needs its table name written out as text, since a name built at run time could resolve to a file, GDAL formats included, that a text check cannot see. - Grants. Admins grant
SELECT,INSERT,UPDATE,DELETEon tables and schemas, andCREATEon schemas, to users or to custom roles. A statement the built-in role does not allow runs only if every catalog table it touches is granted. The table it writes comes from its text, resolved along the session’s search path; every object the name could mean must be granted. What it reads, for users with rolenone, comes from DuckDB: Igloo parses the statement with DuckDB’s own parser, resolves and expands views the way DuckDB does, and checks the result against DuckDB’s plan of the statement, which must scan exactly as many catalog tables as the parse found. A statement whose reads cannot be accounted for is refused. Users with rolenonemay not call functions that read files or take a table’s name (read_parquet,iceberg_scan,query_tableand the like), nor macros an admin defined, since those could read data without naming it. Views run with the querying user’s privileges. Grants never allow what needsadmin. A prepared statement is checked again before it runs when grants, the catalog or the session’s settings changed, so replacing a view or changingsearch_pathcannot widen it. Table and column names are visible to every user through the system catalogs. - Policies. Masking policies, row access policies and tags
(details) apply to every statement of every
user, admins included, unless a policy’s own expression exempts them.
Igloo rewrites a statement that reads a protected table so it reads the
table through a subquery that applies the policies, in which every column
is masked and guarded by the row access policy, so conditions anywhere in
the statement, and error messages, see only what the user may see. It
checks the result (rewritten again, it must not change; DuckDB’s plan of
it must read exactly the tables its text names) and refuses statements it
cannot rewrite with certainty, including several statements in one
prepared statement that name a protected table (those of a simple query
are rewritten one at a time), renames of protected tables and columns,
and DDL that would evaluate an expression over the table’s rows (a column
type change,
ALTER ... USING, a non-constantDEFAULT, a generated column, aCHECKconstraint, orCREATE INDEX), which could otherwise read masked values and hidden rows. Policy expressions are stored with their tables qualified and may not call macros, read files or depend on session state, and a statement is refused if a macro of its session replaces a function a policy calls, or its session changed a setting that changes what expressions mean (integer_division, for one). While any table has policies, users other than admins may not read the warehouse’s files directly (file functions,COPY INTO, pipes) nor call table functions that read tables by name. Tasks, pipes and materialized views run through their owners’ policies. A clone of a table gets the table’s policies and tags before it exists, waiting for other replicas to learn of them the first time a name gets policies, so no statement reads it unprotected; cloning needsSELECTon the table andCREATEon the clone’s schema, and a clone holds every row of its source behind those policies. Policies are not a boundary for admins, who manage them and can read the warehouse’s files, nor for other engines reading the Iceberg tables directly. Policy changes reach other replicas within 30 seconds, and one that cannot read them refuses statements, and Delta Sharing requests, afterIGLOO_ACCESS_MAX_STALENESS. - Connections to other databases. Only admins create, change and drop
connections to PostgreSQL, MySQL and Snowflake
databases. A
connection’s tables need a
SELECTgrant (on the table, its schema or the connection) for everyone but admins: the built-in rolesreaderandwriterdo not cover them. Whenever connections are attached, every statement of a user who is not an admin is checked the way reads are for rolenone: DuckDB’s plan must scan exactly the connection tables DuckDB’s parse of the statement names, by type and table, with views expanded, and each must be granted, or the statement is refused. Every statement of a user who is not an admin carries a record of that check tied to the connections and the catalog, so a prepared statement is checked again when either changes. Creating a view that reads a connection’s table needs a grant on it too. Igloo names a connection’s schemas and tables without case, so tables or schemas whose names differ only in case are refused to everyone but admins. Masking and row access policies apply to connections’ tables too; the check of a statement rewritten for them compares the plan’s scans of connections’ tables with the statement’s, and a table whose masked column the remote database renamed is refused until the policy follows it. A policy does not protect other tables or views of the remote database holding the same data. Connections are attached read-only, and every remote session is read-only too. The extensions’ functions that run SQL on a remote database or connect to any server (postgres_query,postgres_execute,postgres_scan,mysql_queryand the like) are refused for everyone, admins included; a data-drivenPIVOTthat may read a connection is refused for non-admins. Connections are attached only at startup, before the sandbox locks, so SQL cannot attach a database or reach a server that is not a connection. DuckDB never sees a connection’s credentials: it reaches each database through a proxy inside Igloo on the loopback interface, signing in with a random per-process token, and the proxy signs in to the database. Snowflake is reached through a gateway inside Igloo instead, in the same way, which answers DuckDB’s scans by running SELECTs it writes itself, from a strict parse of each scan, with Snowflake’s Go driver; no SQL a user wrote reaches Snowflake. The filters it passes on, row access policies’ conditions among them, keep exactly the rows they would in DuckDB, which does not check them again: strings compare byte by byte whatever a column’s collation. Stored passwords and Snowflake private keys are encrypted (AES-256-GCM, bound to the connection’s name, and a key to being one) under a key in the metadata database, so they are safe from a copy of the connections table but not from someone with the whole metadata database;password_secretandprivate_key_secretkeep them in files ofIGLOO_CONNECTION_SECRETS_DIRinstead. Passwords and keys never appear inSHOW CONNECTIONS, the history or the logs, nor do the URLs of Snowflake’s results in errors. Snowflake’s driver runs with its logging off, and without its probes of cloud metadata endpoints and its native library. The proxy refuses a MySQL server’s request for a local file. Connections use TLS and verify their server’s certificate and host name unless an admin chooses otherwise, which draws a warning; Snowflake connections always do. A connection to the server of the metadata database, by any spelling of its name or by the address it resolves to, is refused, as a guard against mistakes; do not connect the catalog’s database or other internal services either. Give each connection a database user that can read only what Igloo should. Connections to other Iceberg REST catalogs (TYPE iceberg) work the same way through an HTTP proxy on the loopback interface, under a random path, which holds the catalog’s token or OAuth2 client, forwards nothing but loads of the tables found when the replica started, answers the rest itself or refuses it, and bounds each request by the connection’s timeouts. DuckDB gets from the catalog only storage credentials, their expiry and region, never a storage endpoint or plain HTTP of the catalog’s choosing, and keeps them as secrets scoped to each table’s location. The sandbox, locked at startup, opens to the locations of those tables, which must be in an object store, below a bucket, and apart from the warehouse and the allowed locations, and refuses a table whose location changed since; Igloo’s own storage credentials cover only the warehouse and the allowed locations. A remote table’s manifests can still name files in the warehouse or the allowed locations, which DuckDB would then read with Igloo’s credentials for those who may read that table, or in another connection’s tables’ locations, read with credentials that catalog handed out for another statement while DuckDB keeps them. - Erasure (details). Admins and holders of
ERASE ON ACCOUNTask for, preview, confirm and cancel erasures and set data retentions of tables with tags (admins of any table); others see no requests. While a request is open, the metadata database holds its identifiers sealed with AES-256-GCM under a key derived fromIGLOO_ERASURE_KEY, which it never holds, and a random salt; the salt of the hashes that find rows is derived from both. That is pseudonymised data, safe from someone with the database alone but not from someone with the key too, which every replica has; it all goes when the request ends, with the paths of the files it deleted. Nothing about the identifiers is sent to the database, not even hashes: history is read and redacted in Igloo. Any statement withERASE SUBJECTreaches the history, the logs and the list of running statements with its identifiers replaced, and errors keep no identifier or hash. Requests read and change tables with Igloo’s own access, not through policies, which would hide the values they look for, and are carried out whatever later happens to the account that made them. They refuse placeholder identifiers and their digests, and wait for confirmation by someone other than their requester before deleting more than 1% of a table, counting other requests of the past day, or all of one. A replica with another erasure key leaves requests alone rather than failing them. They delete files only in the warehouse, only once no table in the catalog references them, holding the locks making a clone takes, and orphan files only after 3 days, as maintenance does. They do not reach backups, bucket versions, soft-deleted objects, tables of connections, or copies outside the warehouse, such as what engines read with Iceberg REST credentials before the files were deleted. - History. Every statement (with passwords and secrets removed) and
every login attempt is recorded in the metadata database, schema
igloo_audit, forIGLOO_AUDIT_RETENTION. Users read their own history throughigloo.query_history,igloo.login_historyandigloo.usage; only admins see others’. The functions behind the views decide what to show from the session running them, so calling them directly shows no more. - Catalog. The catalog (descriptions, owners, sizes,
usage and lineage, in
igloo.tablesand the other catalog views,information_schema‘s additions,igloo_comments(), the policy and tag references, and the console’s search and pages) shows users with the role none only the tables and views they have a grant on or own, and their schemas; of the others it shows nothing, not even names. A lineage edge to a table they may not see shows that end unnamed, and the statement that made an edge shows only to those who may see it in the history. Connections’ tables show only to admins and to whoever has a grant that covers them, whatever their role; external tables’ files, under the sharing proxy’s secret prefix, are never recorded as locations read. Owning an object lets its owner set its comments and hand it on, and grants nothing else. Lineage events go only to the endpoint Igloo is configured with (IGLOO_OPENLINEAGE_URL), overhttps; never to link-local, reserved or cloud metadata addresses, nor IPv6 addresses that carry one, and to private ones only when allowed; to the addresses checked, not ones a name resolves to later; never through a proxy or a redirect. They carry no query results, nor statements’ text unless configured. - Loading and scheduled work.
COPY INTOloads only from the warehouse andIGLOO_ALLOWED_LOCATIONS, never the server’s own directories, and is checked as theINSERT ... SELECT FROM read_csv(...)statements it runs, one per file, as the user’s own: writing needsINSERTon the table, and reading files the reader role. Tasks, pipes and materialized view refreshes run as their owner, in a new session of the owner’s, checked against the owner’s role and grants at the time they run, so they never have more privileges than the owner has then. A dropped owner’s tasks, pipes, materialized views and alerts are suspended and marked as a dropped user’s (ana (dropped), a name no user can have), so a user created later with the same name does not inherit them. Scheduling needs the writer role, and only owners and admins may change, run or drop scheduled work. Reading a materialized view needsSELECTon it, like a table. - Alerts and notifications (details). Only
admins create notification integrations and grant
USAGEon them. An alert runs as its owner, through the owner’s grants and policies, and sends at most 20 rows of what its query returns, only to integrations its owner hasUSAGEon when it runs;SYSTEM$SEND_NOTIFICATIONsends only text written in the statement. What any notification carries is capped: its text, details, and a result’s rows, columns and bytes. Integrations’ URLs, headers and signing secrets are stored encrypted (AES-256-GCM, under a key inigloo_auth.secrets, as connections’ passwords are), never shown, and replaced by***, along with the parts of header values, in errors, logs, the query history and the alert history; errors quote a destination’s answer only when it is a short error code. Values from data are escaped for Slack and Teams, so they cannot mention people or make links. Failed-login notices, which clients can cause, are raised only for addresses and existing users, at most 5 in 15 minutes from a replica, and cannot use the queue or rate limit the other alerts need. - Outbound connections for notifications. Besides the catalog, object
storage, the identity provider, and the databases and Delta Sharing
servers admins connect it to, Igloo connects out only to send
notifications. These connections reach only public addresses: Igloo
resolves the host for
every connection, refuses it if any address is loopback, private,
link-local (which holds cloud metadata endpoints), multicast, reserved or
an IPv6 form of one, connects to the address it checked, and checks it
again as the socket connects, so DNS rebinding cannot redirect it. It
uses no proxy, follows no redirects, and requires TLS:
httpsfor webhooks, implicit TLS or STARTTLS for mail.IGLOO_NOTIFICATION_ALLOW_HOSTSexempts the hosts it names, which may then be private and unencrypted; list only hosts meant to receive notifications. The Helm chart’s network policies restrict ingress only; restrict egress there too if you need a second line. - Query sandbox. Queries run in an embedded DuckDB that cannot read or
write files on the server’s local disk and cannot reach any URL outside the
warehouse location and the prefixes in
IGLOO_ALLOWED_LOCATIONS. DuckDB extensions are installed in the image at build time; the server does not download code while running. The spatial extension’s GDAL readers and writers (ST_Read,ST_Read_Meta,FROM '*.gpkg'and'*.fgb',COPY ... (FORMAT GDAL)) are refused for everyone: GDAL opens files that a dataset names inside itself, such as a VRT file’s sources, on its own and outside the sandbox. PROJ, behindST_Transform, can open a local file that a coordinate system definition names, without returning its contents (details). - File paths. For users other than admins, Igloo checks the files a
statement names itself, before DuckDB opens them, in file-reading
functions (
read_parquet,read_csv,glob,iceberg_scanand the like),COPY FROM/TO,COPY INTO, pipes and replacement scans, whether or not a table has a policy. A file must be named as a plain string literal (not a value built as the statement runs) with no way to climb out of its prefix: no./..segments, no percent-encoding (so%2e/%2fcannot stand in for a separator), no backslashes, no?or#, and no empty segments. This is needed because DuckDB 1.5.6 prefix-matches a remote path againstallowed_directorieswithout canonicalising it, so a path such ashttps://host/allowed/../otheror ans3://path with a?s3_endpoint=query would otherwise pass its check and reach elsewhere. Allowed locations are validated and given a trailing slash at startup so a prefix cannot match a sibling (s3://b/landnot matchings3://b/landing-private). Without a policy, readers and writers may still read the warehouse’s own files; with one, those go through the tables. - Transport. TLS is on when
IGLOO_TLS_CERT_FILEandIGLOO_TLS_KEY_FILEare set, and unencrypted SQL sessions are then refused unlessIGLOO_TLS_REQUIRED=false(the web console and Flight SQL then serve TLS only). Without TLS, queries and results cross the network unencrypted. Enable TLS before accepting connections from outside a private network. The single-machine stack accepts local connections only by default. - Catalog. The Lakekeeper catalog and its PostgreSQL database must not be reachable by SQL clients or from the internet. Whoever can reach the catalog can change table metadata and may obtain object-storage credentials. Keep it on a private network that only Igloo can reach; other engines use the catalog through Igloo instead. A client that reaches it and asks it to drop a table with a purge deletes every file under the table’s location, files that clones of the table read included; Igloo never asks for one, and refuses engines’ purges of tables whose files clones read. DuckDB reaches the catalog through a proxy inside Igloo on the loopback interface, under a random path, which makes each commit apply once (details); the query sandbox does not let SQL reach it, and errors show the catalog’s address instead of the proxy’s. Of a commit the catalog refused, the proxy deletes only the files that the commit’s own snapshots list as added, under the table’s location.
- Other engines. Port 8181 (
IGLOO_ICEBERG_ADDR) serves the Iceberg REST catalog to Spark, Trino and other engines (details). Engines get an access token by sending an Igloo user’s password or Igloo access token (OAuth2 client credentials), checked like a SQL login, with the same failed-login delay, limits and login history; at most 32 sign-ins run at once. Tokens are encrypted and authenticated with a key every replica shares, last an hour, never longer than the access token they were made from, and end at the next request when the user is dropped or disabled, their password changes, or that access token is dropped. Every request is checked against the user’s role and grants, which are read again each time, before Igloo forwards it to Lakekeeper, and is recorded in the query history. Engines never learn Lakekeeper’s address and never receive Igloo’s storage keys: with a table they get STS credentials (an hour) whose session policy allows only that table’s files, read-only unless the user hasINSERT,UPDATEandDELETEon it, which any commit that changes the table’s snapshots needs as well. On S3-compatible stores Igloo first checks that the store enforces the session policy, and hands out nothing if it does not; on Google Cloud Storage and Azure it hands out nothing yet. Clones, whose files lie under their sources’ locations, get no credentials; write credentials for a table whose files clones read cannot delete files, and when Igloo cannot tell whether clones do, they cannot either. Only admins may choose where a table’s or schema’s files go, move a table or change its UUID, so every table has a directory no other table shares; Lakekeeper refuses moves and new UUIDs too, and Igloo hands non-admins credentials only for a table in the directory the catalog gave it. Names in paths are read as Lakekeeper reads them, nested namespaces are for admins only, and a commit naming another table than its path is refused, so a request is checked against the table it changes. Tables with masking or row access policies, which Igloo enforces in the SQL it runs, cannot be loaded or changed through the endpoint except by admins: their files hold the unmasked data. Without TLS the port serves clients on private networks only, since passwords, tokens and credentials cross it (behind a proxy, such as the scale-to-zero gateway, the proxy’s address counts, so enable TLS before exposing the proxy); with TLS it serves HTTPS only. What remains: storage credentials outlive a revoked grant, a dropped user or token, or a newly attached data policy by up to an hour; an engine with write credentials for a table can rewrite that table’s files and manifests as it likes, including making them name files of tables whose paths it knows, which Igloo would then read with its own access when that table is queried (paths contain random IDs, shown only to those who may read the table); and engines that bring their own storage access are bound by Igloo’s grants in the catalog only. - Health and metrics. Port 8080 (
/healthz,/readyz,/metrics) has no authentication. Expose it only to your orchestrator and monitoring. - Distributed execution. Workers
run parts of statements that Igloo has already authorized, grants of the
nonerole included. A part reads only the data files that Igloo listed from the Iceberg metadata of the tables the statement reads, at the snapshot the statement reads, never a path a user wrote: no part that reads a table function, a view, a temporary table, a connection’s table or a Delta Sharing external table goes to workers, and a worker refuses a task whose SQL reads anything but the files its task lists, and files outside the warehouse and allowed locations. Statements that masking or row access policies apply to, directly or through a view, run on one replica: workers read table files and could not apply the policies. Workers’ DuckDB has the server’s sandbox and no catalog, no users and no credentials but object storage’s. Igloo and its workers talk TLS 1.3 on port 7433 and accept only each other: both derive one key fromIGLOO_WORKER_SECRET(HKDF-SHA256, Ed25519) and refuse a peer that does not prove it holds it (compared in constant time); there is no plain-text mode, on private networks either. Protect the secret like the object storage keys, since a holder can make workers read any table’s files. Each compute pool has a secret of its own (the Helm chart generates one per pool). The task port is not published in Docker Compose, whose containers are not isolated from each other; in Kubernetes a NetworkPolicy admits only the igloo pods of the workers’ own pool, which needs a CNI that enforces it. Workers’ port 8080 serves health checks and metrics only, to pods of the namespace unlessnetworkPolicy.metricsFromsays otherwise.SET distributed_execution = onstarts workers only for admins; for others it uses workers already running, no more than a statement’s size calls for. A worker that answers with an error is not set aside, so no statement can take workers out of use for others. Partitioned joins exchange rows as Parquet files under_igloo_shuffle/in the warehouse, not encrypted by Igloo but protected by bucket access and server-side encryption like table files; the Iceberg REST catalog never vends credentials that reach them, and a lifecycle rule should expire them after a day. - Web console. Port 8443 serves the web console. Users
sign in with their Igloo password, checked against the same SCRAM verifier,
with the same failed-login delay, limits and logging as SQL logins, or
with single sign-on. The browser sends the password inside HTTPS; without
TLS the console accepts sign-ins, single sign-on included, only from a
browser at
localhost: a request addressed tolocalhostfrom this machine or a private network, which guards against plaintext across a network by mistake but is not an access control, so the single-machine setup binds the port to loopback. Every statement runs as the signed-in user through the same authorization as SQL clients, and admin pages are refused to non-admins on the server. Sessions are encrypted, signed,HttpOnly,SameSite=Strictcookies (Secureunder TLS) that expire after 12 hours or an hour idle and end when the user is dropped or disabled or their password changes. Changes need a CSRF token; pages have a strict Content-Security-Policy and cannot be framed. SetIGLOO_CONSOLE_ADDR=to turn the console off. - Arrow Flight SQL. Port 31337 serves Arrow Flight SQL
(gRPC). Clients sign in with a handshake carrying their Igloo password in
HTTP basic authentication, checked against the same SCRAM verifier with
the same failed-login delay, logging and login history as SQL logins.
Basic authentication sends the password itself, so with TLS configured the
port serves TLS only, and without TLS it serves only clients that connect
to it as
localhost(on the same machine, or through Docker’s published ports, an SSH tunnel orkubectl port-forward), from this machine or a private network, as the console requires; others are refused before their password is checked. The handshake returns a random bearer token that is valid only on the connection it was issued on and ends with it. Every statement and metadata call runs as the user through the same authorization, sandbox, statement timeout and query history as SQL clients. SetIGLOO_FLIGHT_ADDR=to turn it off. - Delta Sharing. Port 8444 serves Delta Sharing to
outside recipients: over HTTPS, or without TLS only to requests addressed
to
localhostfrom this machine or a private network, as the console requires. Only admins create shares, recipients and providers. Recipients authenticate with 256-bit bearer tokens that Igloo stores as SHA-256 hashes and checks in constant time; tokens expire, can be rotated, and are delivered through one-time activation links that only a button press redeems. A recipient reads only the shares granted to it, and only the current version of a table unless the table was sharedWITH HISTORY. Data files are downloaded from URLs Igloo signs and serves, each for one file, one token and one hour, with the path encrypted; every download rechecks the token and the grant, so revocation is immediate on the replica that ran it and within ten seconds on the others. Recipients never receive storage credentials. Rows deleted from a table are never served (files with deletes are served as copies with them applied), and tables with renamed or dropped columns, whose files may hold data the table no longer shows, are refused. Every recipient request is in the query history. Partners’ bearer tokens (CREATE PROVIDER) are stored encrypted and kept out of the history. DuckDB reads partners’ files only through a loopback proxy, under a random path, that serves files the provider listed for an external table and does not connect to loopback, link-local or multicast addresses other than the provider’s endpoint; the sandbox is otherwise unchanged. SetIGLOO_SHARING_ADDR=to turn the endpoint off. Tables with masking or row access policies are never shared: recipients read files with their own tools, which cannot apply Igloo’s policies.ALTER SHARE ... ADD TABLErefuses them, and a shared table that gains a policy is refused to recipients from then on (on other replicas within 30 seconds; one that cannot read the policies serves no table afterIGLOO_ACCESS_MAX_STALENESS, until it can again), downloads of files listed before included, with each refusal and the policies behind it in the query history; until Igloo has loaded the policies, the endpoint serves no table. Policies do not attach to external tables, and while tables have policies users other than admins cannot read external tables’ files through the proxy, nor the copies of shared files in the warehouse. Recipients’ tokens (dst_) and Igloo’s access tokens (igloo_) are distinct: neither signs in where the other does. A recipient’s token also reaches, at/clean-roomson the same endpoint, the clean rooms its recipient is a collaborator of. - Clean rooms. (details) A clean room’s
datasets are confined: only their own party’s users (a collaborator’s
user, or the holders of its role) read them, as before, and the room’s
runs; everyone else is refused, admins included, in every position and
through any view, over SQL, Flight SQL and the web console. A partner’s
dataset, an external table, is read by no local user. Confined tables
count as protected: users other than admins cannot read the warehouse’s
or external tables’ files directly, the Iceberg REST catalog refuses them
to everyone but admins and their own party, and Delta Sharing neither
shares nor serves them; confinements reach other replicas as policies do,
within 30 seconds, and result tables are confined from the moment their
template exists. Only a dataset’s party writes, replaces, drops or alters
it, and only a room’s runs write its results. A dataset is a table or a
partner’s external table, without masking or row access policies, which
only its owner in the catalog (or the owning role’s members) or an admin
puts in a room: reading a table is not enough to take it from others; the
catalog shows it to its own party alone, and only that party clones it.
Templates are checked on DuckDB’s parse of them, with anything unknown
refused, so that identifiers appear only in joins between datasets and
in counts, and aggregates take bare columns; they run only after every
party whose data they read approved that version, whose number is never
used again, and its digest, which covers the datasets it reads, their
sources and their policies, so replacing one needs every approval again.
Runs execute as the room’s own identity
(
clean_room:<room>, which no user can be called), withSELECTon the run’s datasets alone and every check a user’s statements take, never with the requester’s grants or policies. Result rows that count fewer than a dataset’s threshold of distinct identifiers (50 by default), in the whole group, in eachFILTERand in each combination of them, are dropped inside the run’s own session without a trace, and results go only to the requester’s party. Parameter values that keep or leave out fewer than a threshold of a dataset are refused, each party has a run budget per dataset (10 runs a day with noise), and datasets may ask for Laplace noise on counts, the same for every copy of a count in a run. Across parties, a template sums a measure only within the bounds its policy gives per person, which include 0, each person’s total clamped to them, with noise scaled to them, and takes no minimum, maximum, median or spread of one. These sums, and counts that are notDISTINCT, are under review: do not rely on them for privacy. A run that fails once it reads the datasets ends as refused, without its error, which could depend on another party’s rows. A party that controls the groups of its own data can still learn whether one known person is in another’s, as the details say. The host’s admins can read everything on their own system: clean rooms protect collaborators from each other, not from the host. Partners who need protection from the host should host the room themselves, or use Delta Sharing both ways.
Verifying release images
Section titled “Verifying release images”Release images at ghcr.io/akkio-inc/igloo are signed with Sigstore keyless
signing from the release workflow, and carry SBOM and build provenance
attestations. To verify an image:
cosign verify ghcr.io/akkio-inc/igloo:1.0.0 \ --certificate-identity-regexp '^https://github\.com/akkio-inc/Igloo/\.github/workflows/release\.yml@refs/tags/v' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com
gh attestation verify oci://ghcr.io/akkio-inc/igloo:1.0.0 --repo akkio-inc/Igloo