Security
Security at Portward
This page is for you and for whoever at your company checks the tools you use with company data. It covers Portward's hosted engine, labelled Portward runs this, which every Portward account can have, and the services Portward runs for Portward accounts. Team, where a whole team shares one engine, isn't open yet. Personal is no longer offered.
The short version
- What Claude gets
- The answers to the questions it asks, from the tables and columns you allow. A column you keep from Claude is never sent to it. Every query only reads: Portward sends nothing that changes your data. The same holds for ChatGPT or another AI app you connect.
- What Portward holds, and for how long
- Portward holds your account email, your database login (sealed to your engine's key), your rules and notes, the questions and SQL your AI ran, receipts and usage counts, and the AI log of what the AI was sent. Rows pass through your engine to the AI and are not stored by Portward, except in that AI log, which deletes them after 30 days, and in the results panel, which deletes them after 24 hours. Your engine is separate from every other account's.
- In detail: your email address and your account. Your own hosted engine, which keeps the logins you type on its setup page, sealed on its own disk, and these records: a receipt of each question (names and counts, 90 days), what the AI was sent, rows included (30 days), the rows of your last 50 results (24 hours), and the question and SQL of each query, never its rows (90 days). On Free, an engine nobody asks for 30 days is deleted with everything on it.
- Who can see it
- You, when signed in. The AI app you connected gets only what your rules allow. Portward runs the engine and the machine under it, so Portward can technically see what passes through it; one person runs Portward. The companies that run the machines are on the subprocessor list.
- How to delete everything
- Delete your account from your account page: your account, your engine, its disk and the logins on it are deleted straight away. Encrypted backups of the account database are deleted after 35 days, except a copy that failed to upload or a replaced server's old disk, which can stay longer (see Backups below). There are no backups of engines.
- What Portward does not have
- SOC 2 is coming soon. One person runs Portward; there is no separate security team. There is no second region and no failover, and hosted engines are not backed up.
- What Portward doesn't protect
- Anything you type into the chat yourself, such as a name or other personal data, goes to the AI app as you typed it: Portward doesn't protect it. If the AI then puts it in a query, that query is kept in your engine's history like any other.
- Who to ask
- Questions about Portward or this page: Support replies within 2 US business days: email support@portward.ai. Security problems: security@portward.ai.
The rest of this page is the detail behind each line. See also the data processing agreement, the attack tests on read-only and kept columns, the dated isolation and egress report on the running service and whether the service is working now. For a security review, Portward's answers to the CAIQ Lite questionnaire say what is and isn't in place.
How claude.ai and ChatGPT reach your data
Portward runs a small engine for you, one per account, so the AI app works with your computer off. It is made the first time you sign in to Portward from an AI app or open its setup page. Only sources on the internet can go on it, and a new connection only of the kinds offered below. Apart from a small sample database Portward puts there so a first question can be answered, nothing goes on it until you put a connection there yourself, on the engine's own setup page or with the setup form in the chat. Every reply it gives ends with "Portward runs this" and a link to this page.
What can go on the hosted engine
The engine sends nothing that changes your data: one checked SELECT at a time to a database, and to a file store or an app only reads (and, for Salesforce, a request for a short-lived token). What differs is what Portward can check about the login, key or sign-in you give it, so each kind says that below.
Offered now
- PostgreSQL and MySQL. An administrator login is refused. A login that can change some tables is accepted with a warning, and every query runs in a read-only transaction, so the database refuses a write.
Built, listed as coming
The setup page lists these as coming, with "Ask for this source", until each has passed Portward's live checks on a real account at its vendor and is offered there.
- SQL Server. An administrator, or a login that can change anything it can read, is refused. SQL Server has no read-only transaction, so every query runs in one that is always rolled back.
- Redshift. A superuser, a user with an administrator role, or one that can change or drop anything in the database is refused. A user that can only create new tables or schemas is accepted with a warning. Every query runs in a read-only transaction.
- Databricks SQL. A workspace or metastore admin, an owner, or a principal holding anything but read grants on the catalog, the schema or its tables is refused. A personal access token is accepted with a warning, since it can do what its owner can across the workspace. The grants are checked when the connection opens, and a check that passed is used again for up to 5 minutes.
- Oracle. A login that owns the schema, holds an administrator role or a privilege that writes, or can change a table in the schema is refused. Every query runs in a read-only transaction. The connection is always encrypted (TCPS).
- Snowflake, signed in with a key pair. Snowflake has no read-only session, so on every connection Portward checks that queries run as the role you named with secondary roles off, and that the warehouse is no larger than Small. It reads every grant of the user, the role, PUBLIC and every role under them, and refuses a privilege that isn't a read, anything held with grant option, a privilege granted straight to the user, and any administrator role. Snowflake's own AI roles, which it gives every account, pass with a warning: Portward never sends the AI functions they allow. A check that passed is reused for questions for up to five minutes, never when you check, save or remove a connection. Each query stops after 25 seconds, a connection may run queries for 10 minutes in any hour, and queries use your warehouse's credits: put a resource monitor on it.
- BigQuery, one dataset, read with a service account's JSON key. Portward asks Google only for BigQuery's read-only access and itself sends nothing but one SELECT at a time. Each query is estimated first and refused if it would scan more than 1 GB, BigQuery stops it at the same 1 GB, and a connection may scan 20 GB in any hour. External tables are never offered. On projects billed by reserved capacity those byte limits don't limit cost; each query still stops after 30 seconds.
- Files in Amazon S3, Google Cloud Storage, or Azure Blob or Data Lake: the Parquet, CSV and Excel files you name. An Azure token that allows more than reading and listing is refused. S3 and Cloud Storage don't let Portward see what a key may do, so a key is accepted with a warning to use one that can only read.
- HubSpot, with a service key. A key with any permission that isn't a read permission is refused, and this is checked again each time the connection opens.
- Salesforce, with the consumer key and secret of an app in your org that runs as an integration user. A user with Modify All Data or another system permission that writes is refused, and so is one whose permissions Portward can't read. An object the user can change is not read, and the setup page names it.
Built, waiting for Portward's app at the vendor
These sign in at the vendor. Portward hasn't registered its app with Google or Microsoft, which comes first.
- Google Sheets and Drive. You pick the files on Google's own page, and Portward can open only those (Google's "drive.file" permission). Google has no read-only form of it, so it would let Portward change the files you picked; Portward only reads them. A sign-in that comes back allowing more is refused.
- Excel on OneDrive and Excel on SharePoint: Excel, CSV and Parquet files. Portward asks Microsoft to read only (Files.Read, Files.Read.All, Sites.Read.All) and refuses a sign-in that allows anything more.
SQL Server, Redshift, Databricks SQL, Oracle, Snowflake, BigQuery, the file stores, HubSpot, Salesforce, Google and Microsoft have been tested on the engine only against test copies on Portward's own computers. None has been run against a real account at its vendor yet.
What the hosted engine holds
The engine is the same open-source Portward that runs on your computer, started in server mode in its own
container. A connection reaches it from its setup page, after you sign in to the same Portward account, or from the
setup form in the chat. You give the connection's details (a host and database, a bucket and its files, or an app's
address) and its login, key or token, and choose its mode and the columns to keep from the AI. Its settings, block
rules, notes and mode go in the engine's local file. Its login, key or token goes in web-logins.sealed on
the engine's disk, sealed to the engine's own key, and is never sent to signup.portward.ai. A source you sign in to at
its vendor (none is offered yet) keeps the vendor's refresh token there instead. Portward's own app secret at the
vendor stays at signup.portward.ai, so that token passes through signup.portward.ai's memory for one request when the
sign-in is made, renewed or withdrawn; it is not stored or logged there.
Each time the engine starts it opens its sealed logins file again into memory. The sealed file protects a copy of the disk made without the key; the key sits on the same disk, so it doesn't keep the logins from Portward as the engine's operator. An idle engine is suspended: Fly saves its memory, with the opened logins and any records held there, and restores it when a request comes in.
On its disk the engine keeps
engine.key, portward.db, web-logins.sealed, anon-key.sealed, sample.sqlite, report-signing-key.sealed: its own private key, made
the first time it starts, its local file, the sealed logins, its own sealed anonymising key (made the first time a
connection on levels sends a column as stand-ins), the sample database and its sealed report-signing key. The local
file holds your account's id and email address; the connections and their rules or profiles; the plan it serves; the times of the
questions asked in the last 7 days; the day of the last question; and how often a limit was reached. It also holds the
history of the queries it ran (the question, the SQL, the row count and a hash of the result, kept 90
days), a receipt of each question (names and counts only, kept 90 days) and its AI log: the summary of
each read, kept 365 days, and what the AI was sent, result rows included, kept 30 days and
sealed under a key derived from the engine's own key. The rows of your last 50 results are also held
sealed for the results panel, for 24 hours. When a connection leaves the engine, its history, receipts and
AI log stay until they age out or the engine is deleted.
Beyond that, the records and files a source reads are held only in the engine's memory. HubSpot and Salesforce records are read again in full at least every hour, dropped after an hour unused, and dropped at once when you disconnect. Files from a bucket are used again for up to 10 minutes and dropped when you disconnect. Once offered, files from Google would be used again for up to 15 minutes, and the parsed copies of the last OneDrive and SharePoint files read, up to 64 MB in all, until newer files replace them; both are dropped when you disconnect.
It needs three settings: PORTWARD_ACCOUNT_URL, PORTWARD_PUBLIC_URL, PORTWARD_ENGINE_TOKEN. They are the address of your account service, the engine's own
address and its sign-in token. signup.portward.ai also starts it with PORTWARD_SHARED_URL, Portward's
shared connector address, and PORTWARD_USAGE set to off, so its tool calls aren't counted as an install's
usage, and, where they differ from the engine's defaults, PORTWARD_SOURCES_ON_OFFER (the kinds offered for
a new connection) and PORTWARD_QUICKBOOKS_SANDBOX.
It never gets your sync data key, so it can't open your synced records, nor your recovery key, nor any connection you didn't put on it.
What it can read
- Your sources, with the login, key or token you gave it. It runs your questions through the same checks as Portward on your computer, so a rule or profile means the same there: hidden columns aren't in the tables its queries see. On a connection set up on the web, a table or column that appears after you saved it (a new table, object or file) is kept from the AI until you save that connection's page again.
- Only sources on the public internet. The engine looks up each host itself and refuses it unless every address the name gives is a public one, so it can't be pointed at private, link-local or cloud metadata addresses, or at Portward's private network on Fly. A file store, business app or sign-in source may contact only its vendor's own hosts, worked out from what you typed. For Databricks, only Databricks' own domains are accepted, and its driver is held to the address the engine checked. For Snowflake, only the account's own host on snowflakecomputing.com; for BigQuery, only oauth2.googleapis.com and bigquery.googleapis.com.
- Only you can use it: the AI app signs in with your Portward account, a sign-in reaches only your account's engine, and the engine checks each one again with signup.portward.ai. One exception: a one-time setup link (below) lets whoever opens it add one new connection, without signing in, so you can send it to the colleague who has the login. It can't see or change the connections already there.
- The AI app can call only these tools on it:
list_sources,describe_source,query,rerun,tweak,compare,more_rows,get_selection,history,lineage,kept_rows,ai_log,sent_to_ai,panel_rows,put_in_chat,value_source,setup_link,connect_source,narrow_levels,draft_wider_levels,use_levels. All of them read, except three that change a connection's levels and row rules when you ask:narrow_levelsonly ever gives the AI less, and applies at once;draft_wider_levelsonly drafts showing it more, which applies when you save the connection's page yourself;use_levelsswitches a connection to levels without showing the AI anything new. Once Team opens, only a workspace's admins will be able to use them on its engine. Of these,setup_linkonly gives a one-time link to the engine's setup page, which works once, for 15 minutes, andconnect_sourceonly opens Portward's setup form in the chat: it carries no password, key or token, and is refused if it is sent one. The results panel addscolumn_menu,keep_from_claude,column_note,level_preview,set_level, which only you are meant to use, from the panel, to keep a column from the AI or note what it means on a connection set up on the engine's own page, to preview a column at a level, or to set a lower one. The setup form in the chat addssetup_start,setup_check,setup_save,setup_samples,setup_share,setup_login_script,setup_ask, which only the form uses, to check a login and save a new connection: the form seals the login to the engine's key before it leaves the form, and these tools can add a connection but can't show or change one already there. Once a login has passed its check,setup_samplesgives the form one or two short values from each column, so you can see what a column holds before you choose what to keep: a column that looks personal is masked on the engine first, and the values of the others reach the form through the AI app.setup_sharegives the form the same one-time setup link assetup_link.setup_login_scriptgives the form a script that makes a login that can only read, for the kind of source you chose; it runs nothing, takes no password, and is refused if it is sent something that looks like one.setup_askcounts a tap on a kind of source that isn't on offer yet: the name of the kind and a count, once a week, and nothing else. Portward marks the tools of both (these, and the ones that read rows for the panel) as the panel's or the form's own, and it is the AI app that keeps them from the AI: the engine can't tell the panel from the AI by itself. The setup page lets you change the same columns and notes, and disconnect a connection set up there. Beyond the three level tools above, none of which shows the AI anything new, the AI has no tool that changes a connection.
The honest limit. Portward runs the engine and the machine it runs on. The engine opens your login and sees the rows it reads and sends to the AI, so Portward can technically see what passes through it. The sealing keeps the logins file safe in a copy of the disk made without the engine's key, not from Portward as the engine's operator. If Portward must not be able to see inside, use Portward on your own computer instead: it runs there, and nothing leaves your computer except what you let the AI see.
What signup.portward.ai keeps for the hosted engine
- The engine's public key. If your computer sent the engine its connections while you had Personal: that bundle as ciphertext sealed to the engine's public key, which signup.portward.ai can't open, with its version number, until 30 days after Personal ended (a setting, 30 by default); and batches of the engine's AI log summary sealed to your inbox key, until one of your computers collects them into your history.
- The engine's sign-in token, as a hash only.
- While you sign in to a source at its vendor: the sign-in's state, as a hash, with your account, the engine and the vendor, until it is used or expires ten minutes later.
- For each AI app that signs in to Portward: the app's registration (its name and return address), each sign-in's account, app and dates, and hashes of its tokens, never the tokens. Opening the setup page leaves a one-time ticket, kept as a hash.
- From the engine, at least once a day while it is awake and when it next wakes, the same counts and names a computer sends for your account page (connection, profile and AI app names), the questions in the last 7 days, the number of connections set up on the web, the day of the last question, how often a limit was reached and when the engine first answered a question: counts and times, never what was asked.
It never gets a login, key or token set up on the web, and never stores a source's sign-in. Deleting your account deletes the engine, its disk and these records.
Free on the web
A Free account's engine has limits that keep its cost to Portward predictable. They are settings Portward can change; by default:
- 1 connection set up on the web. An engine with more, from when Personal was offered, serves the first by name and deletes none;
- 200 questions in any 7 days. A question is a query that runs; the next one past the limit is refused, saying when you can ask again;
- 200 rows per result, read from your database at most. A result cut there says so.
An engine on Free is deleted after 30 days without a question, with its disk and the logins on it; from day 23 your account page says so, at least 7 days before. Signing in again later makes a new, empty engine.
Where it runs
- signup.portward.ai and share.portward.ai run on Amazon Web Services in us-east-2 (Ohio, USA).
- Hosted engines run on Fly.io in one region,
iad(Ashburn, Virginia, USA): one Fly Machine per user, with its own encrypted volume for the engine's key and history, asleep when idle. The engine's sign-in token is kept as a Fly secret. - There is no second region and no failover. If Fly's iad region or our AWS region is down, the services there are down until it comes back.
Backups and how long things are kept
- signup.portward.ai's database is copied once a day, and before each deploy, to an encrypted storage bucket in the same AWS account. Each copy is deleted after 35 days. A copy that fails to upload stays on the server's disk. If the server is replaced, its old encrypted disk stays in the same AWS account; nothing deletes it today. So deleted data can outlast a deletion in these copies, which are used only to restore the service.
- Portward makes no backups of hosted engines. If an engine's disk is lost, you set up its connections again. Engine disks are made with Fly's automatic snapshots off, and with any snapshot Fly takes anyway kept one day at most, the shortest Fly allows; a one-off command gives disks made before 2026-11-19 the same settings.
- History is kept 90 days. The engine keeps the question and the SQL of every query it ran, with the row count and a hash of the result, never the rows, for 90 days, then deletes it, checking on every poll like the rest below.
- On the engine, what the AI was sent, rows included, is deleted once it is 30 days old; receipts after 90 days; the AI log's summary after 365 days; the results panel's rows after 24 hours. The engine checks every 30 seconds while it is awake (the summary, at each question); an engine that is asleep deletes them when it next wakes.
Subprocessors
These are the outside companies that handle personal data for the services Portward runs for Portward accounts, its website and its support mailbox.
| Company | What for | Personal data | Where |
|---|---|---|---|
| Amazon Web Services | Runs signup.portward.ai (your account, sign-in sessions, the encrypted sync and share records, and the hosted route's sealed bundles) and share.portward.ai. Keeps the daily backups of signup.portward.ai's database. Sends the emails from the forms on the website, portward.ai, to Portward's mailbox (Amazon SES). | Your email address, IP addresses of requests, what you type into the website's forms, your answers to the first sign-in questions, the names and counts your engine reports, and the ciphertext listed on this page | us-east-2, Ohio, USA |
| Fly.io | Runs hosted engines, one per account, each with its own encrypted disk, and the router that sends your AI app's requests to your engine. | Everything the hosted engine holds and reads for you: your database logins, the rows your AI app asks for and what this page says the engine keeps | iad, Ashburn, Virginia, USA |
| Resend | Sends Portward's own emails, such as share codes and notices about your account. | Your email address and what the email says | United States (Resend's data processing terms) |
| WorkOS | Signs you in to your Portward account (AuthKit). | The email address you sign in with, your IP address, and your name if your Google, Microsoft or GitHub account gives one | United States (WorkOS's data processing terms) |
| Stripe | Keeps the billing records from when Portward offered Personal, and will take payment for Team, when it opens, through Stripe Checkout and the billing portal, which Stripe hosts. | Your email address, billing address and card. Card numbers never reach Portward. | United States, and other countries where Stripe works (Stripe's data processing terms) |
| Google Workspace | Portward's mailbox. Email you send to support@portward.ai, including replies to Portward's emails, lands there. | Your email address and what you write to us | Any country where Google has facilities (Google's data processing terms) |
| Railway | Hosts Portward's website, portward.ai. | IP addresses of visitors to the website, and what a visitor types into its forms | US East (Virginia), USA |
The same list is on its own page, to send to whoever asks for it.
Portward calls no AI model itself. The rows your rules allow go from your engine to the AI app you connected (Claude, ChatGPT or another), and that app's provider gets them under your own agreement with it. The AI app you connect, and the companies that hold your data (your database's host, your file store, your business app), are your own choices, not Portward's subprocessors.
Data Processing Agreement
Read the DPA, or download it to send to your company. Portward's Terms point your company to it for the parts Portward runs.
It is version 1.1, adapted from a standard template (Common Paper's DPA, version 1.1), and was written when Portward offered Personal, so it covers Personal and doesn't name Free. If your company needs a DPA for Free, or needs this one signed, write to security@portward.ai. Team has its own DPA, which takes effect with a Team workspace once Team opens.
Report a vulnerability
Email the details to security@portward.ai, and please keep them out of public issues. Our vulnerability disclosure policy says what you may test and what we do with a report. security.txt
Portward's own attack tests on the query guard and on kept columns say what was tried, what broke and was fixed, and what is still open. The isolation and egress report checks on the running service that one account can't reach another's engine, that private addresses are refused and that engines can't reach each other, case by case, with the date and the build it ran on.