Privacy Policy
Last updated
InstaHost hosts files and static sites and gives you a link to them. This policy explains what InstaHost collects when you use it, what that information is used for, who processes it and how long it is kept.
In short
- You can share and publish without an account. InstaHost does not ask for your name or email address for that.
- What you upload is kept until it expires or you delete it, and anyone who has its link can open it unless you made it private.
- Your IP address is used to enforce rate limits and daily quotas. The database stores a keyed hash of it, never the address itself.
- If you sign in with Google, GitHub or an email code, your email address is used only to sign you in and to show you which account you are in. The database stores an account identifier, not your email address.
- InstaHost does not sell personal information and does not use it for advertising.
What this policy covers
"InstaHost" means the service at instahost.dev (this website, the API and the command line tool that calls it), the InstaHost console where signed-in users manage their API keys and uploads, and the hosts that serve shared files and published sites (files.instahost.cloud and instahost.cloud). "We" means the operator of InstaHost.
Files and sites hosted on InstaHost are published by its users. What a published site does with its visitors' information, including any cookies it sets, is the responsibility of whoever published it, not of InstaHost.
What we collect and why
Content you upload
- The files you share or publish, with their names, sizes, content types and checksums.
- A record for each upload: whether it is a file or a site, its access mode, when it was created, when it expires, and how many files and bytes it holds.
We use this to store your content and serve it at its link. Anyone who has the link of an unlisted or public upload can open it; a private file also needs its access token. Do not upload personal information or secrets that you do not want people with the link to see.
Tokens and API keys
Delete tokens, access tokens and API keys are shown to you once. We store only a SHA-256 hash of each, so we cannot look one up or recover it.
IP address and request details
- Rate limits and quotas. We use your IP address to limit how many requests and uploads one client can make, and to recognize a retried upload request. IPv6 addresses are shortened to their /64 prefix first. The database never stores the address: it stores a keyed hash of it (HMAC-SHA-256 with a secret key) on the record of an upload made without an API key, and in a daily usage counter.
- Our logs. Our own log lines hold the kind of request, its status and error code, how long it took, the first 8 characters of the upload's identifier and, for requests from the InstaHost command line tool, the tool's version. They do not hold IP addresses, full URLs, headers, file names, tokens or API keys.
- Cloudflare's logs. InstaHost runs on Cloudflare, so every request passes through Cloudflare's network. Cloudflare processes your IP address and the details your browser or tool sends, and keeps short-lived request logs for the API that can include the IP address, the user agent and the request path. We use them only to operate the service and to investigate errors and abuse.
The command line tool sends no analytics. Each of its requests carries its own version and your Node.js version in the User-Agent header.
Accounts and sign-in
An account is optional. You need one only to use the console, where you create API keys and manage what you uploaded with them. Sign-in is handled by WorkOS, our sign-in provider. You can sign in with Google, with GitHub or with a code sent to your email address.
- What we receive. When you sign in, WorkOS gives InstaHost an identifier for your user record, your email address, whether that address is verified, and a session identifier used to sign you out. If you sign in with Google or GitHub, WorkOS receives your basic profile from that provider: your name, your email address and your profile picture. InstaHost never receives your Google or GitHub password, and it does not ask for access to anything else in your Google or GitHub account, such as mail, files, calendars, contacts or repositories.
- How we use it. Only to sign you in: to check that your email address is verified and, while sign-up is by invitation, that it has been invited; to show your email address in the console so that you can see which account you are in; and to keep your account's API keys and uploads together. InstaHost does not use or store your name or profile picture.
- What we store. For each account, our database holds the identifier of your user record at WorkOS, when the account was created, whether it is blocked or being deleted, the time of your last "sign out everywhere", and how much storage its uploads use, together with the account's API keys (as hashes) and uploads. It does not hold your email address, your name or a password. Your email address is kept in the session cookie in your own browser. WorkOS keeps your user record, with your email address and the name and profile picture your provider supplied, on our behalf.
Information from Google. The information InstaHost receives when you sign in with Google is used only as described in this section. We do not sell it, do not use it for advertising, do not use it to train machine learning or AI models, and do not transfer it to anyone except the providers named below that process it for us to run sign-in.
Cookies and browser storage
- This website, the API and the hosts that serve files and sites set no cookies of their own.
- The console sets two cookies, both needed for sign-in and readable only by the console: one that lasts 10 minutes while you sign in, holding random values that protect the sign-in and the page to return to; and a session cookie that lasts 30 days or until you sign out, holding your account identifier, the sign-in provider's session identifier, your email address and the session's start and end times.
- Website analytics keeps a random identifier in this website's local storage, not in a cookie.
- Cloudflare can show a challenge page to a visitor it rates as a threat, on any host, and sets its own
cf_clearancecookie when that visitor passes.
Website analytics
The pages of this website, such as the home page, the documentation and these legal pages, use PostHog, a product analytics service, so that we can see how the site is used and fix what does not work. The API, the command line tool, the console and the hosts that serve files and sites do not use it.
- What it records: the pages you open and the page you came from; clicks and actions on a page, such as copying a command, choosing a demo format or opening a search result (not the text you searched for); errors and log messages from the page's scripts; and details of your browser and device, such as the browser, operating system, screen size and language.
- PostHog receives your IP address with each request and can derive an approximate location from it.
- It recognizes a returning browser by a random identifier kept in local storage. Clearing this site's data in your browser resets it.
- If session replay is switched on for our project, PostHog can also record how a visit to these pages unfolds: scrolling, clicks and pointer movement.
The site works the same without analytics. A browser or extension that blocks PostHog stops this collection.
Messages you send us
If you write to us, for example to report abuse or a security problem, we keep your message and your address for as long as we need them to handle it.
How we use information
- To provide the service: store your uploads, serve them at their links, and let you manage them.
- To keep the service available and safe: enforce limits, prevent and investigate abuse, and take down content that breaks the acceptable use rules.
- To find and fix errors.
- To understand how this website is used and improve it.
- To answer you when you write to us, and to meet legal obligations.
We do not sell personal information, do not use it for advertising, and do not build profiles of you for other companies.
Who we share it with
- Cloudflare runs InstaHost: its network, its code, its file storage and its database. Everything InstaHost stores is stored there, and every request passes through it.
- WorkOS handles sign-in for the console and keeps the user records described above.
- PostHog receives the website analytics described above.
- Google or GitHub, only if you choose to sign in with one of them. That provider learns that you signed in to InstaHost.
- People who have your link. Anyone with the link of an unlisted or public upload can open it.
- Authorities and others, when the law requires it, or when it is needed to investigate abuse of the service or to protect someone's rights or safety.
These providers process information in the United States and in the other countries where they operate.
How long we keep it
- Uploads are kept until they expire or you delete them. An upload made without an API key lasts at most 7 days. An upload made with an API key lasts as long as you chose within that key's limits, which can be until you delete it.
- After an upload expires or is deleted, its link stops working at once and its stored content is removed, usually within about an hour. A record without the content (its identifier, sizes, times and hashes) stays for 7 days, so that the link reports the upload as gone, and is then removed. The record of an upload that we took down is kept.
- Hashed IP addresses stay on an upload's record for as long as that record exists. Daily usage counters are deleted after 7 days.
- Logs are kept for a few days.
- Accounts are kept until you delete them. Deleting your account in the console revokes its API keys and removes its uploads, its keys and the account record. Write to us to have your user record at WorkOS removed as well.
- The session cookie lasts 30 days, or until you sign out.
- Analytics stay in PostHog until its retention period for our project ends or we delete them.
Your choices
- Delete an upload at any time with its delete token or the API key that created it, or from the console.
- Sign out, sign out everywhere, or delete your account from the console.
- Remove InstaHost's access to your Google or GitHub account in that account's own settings. This does not delete your InstaHost account.
- Block analytics in your browser, or clear this site's data to reset the analytics identifier.
- Ask us what we hold about you, or ask us to correct or delete it, at the address below. Depending on where you live, you may have further rights over your personal information, including the right to complain to your data protection authority.
For uploads made without an account we usually cannot tell which are yours: we hold no name or email address for them, only a hashed IP address. The delete token you received when you uploaded is what controls them.
Security
Every InstaHost host uses HTTPS. Tokens and API keys are stored as hashes, the console's cookies are signed and cannot be read by scripts, and our logs leave out credentials. No service can promise perfect security. To report a vulnerability, see security.txt.
Changes to this policy
When this policy changes, we publish the new version on this page and change the date at the top. The terms of service describe the rules for using InstaHost.
Contact
Questions about this policy, and requests about your information: abuse@instahost.dev.