Saying “we take your privacy seriously” costs nothing. This article doesn’t ask you to take our word for it. It lists the mechanisms in the app and in our database that protect your account, your location, your photos and your messages, with the actual rules, numbers and names we use. It also says where each one stops, because a protection you can’t check isn’t much of one.
Goings has two parts. The iPhone app is written in Swift. Everything you post is stored in a Postgres database run on Supabase, with photos and videos in Cloudflare R2. Most of the rules below live in the database itself, not in the app. That matters: a rule in the database applies to every request, whatever sends it: our app, an old version of it, or someone calling our servers directly.
Your account
Your password
When you sign in, the app hands your password straight to the sign-in library (supabase-swift), which sends it over an encrypted connection to Supabase Auth. Nothing in the app writes your password to the phone’s storage, the Keychain or a log. On the server it’s kept only as a bcrypt hash, a one-way scramble that can be checked but not reversed. We can’t see your password, and neither can anyone who works here.
Codes, not links
When you sign up, we email you a six-digit code, and the app confirms it with Supabase Auth before your account opens. The sign-up email carries the code only, with no sign-in link, so there’s nothing in your inbox that someone could click to get into your account.
A password changes only with the emailed code
Changing your password takes three steps in the app: we email you a code, you enter it, then you choose the new password. The database enforces this too. A trigger called password_change_needs_email sits on the table that holds sign-in records. It refuses any new password unless that account signed in with an emailed code within the last hour. The refusal reads “A password can only be changed with the code we email you.” The rule binds us as well: our own staff can’t set your password from the dashboard or the admin tools.
Your sign-in on the phone
After you sign in, the session (the token that keeps you signed in) is stored in the iOS Keychain, the encrypted store Apple provides for this. It isn’t synced to iCloud, and it can only be read once the phone has been unlocked after a restart. If the Keychain doesn’t save it, the app refuses to continue rather than keep it somewhere weaker. When you sign out, the app turns off notifications for that phone, ends the session, and erases its cached copy of your account, your saved feed and your recent searches.
Your birthday
Goings is for people 13 and older. When you sign up, a database trigger checks your date of birth before the account is created and refuses a missing date, an impossible one, or anyone under 13. The date is then copied into account_age, a table in a private part of the database. No app account, including yours and our moderators’, can read that table. Other parts of the system can only ask it yes-or-no questions (“is this person 18 or older?”) and never get the date itself. Once a date is recorded, the app can’t change it. The date also stays with your sign-in record, which only you and our engineers can see. We don’t check ID: your age is the birth date you give.
Who can read what
Row-level security on every table
Every table that holds what people post has Postgres row-level security turned on. For each row, the database itself decides whether the person asking may see it. On top of that, we take away the app’s ability to write to these tables directly (revoke all … from anon, authenticated). Every change goes through a function that checks who you are and what you’re allowed to do first. Some examples of the rules:
- Notifications are readable only by the person they’re for, only while their account is active, and never when they come from someone either of you has blocked.
- Direct messages are readable only by the two people in the conversation.
- Circles go further. Their tables (members, chat, plans, Memories, pins) have no direct read access at all. Everything goes through functions that first check you’re an active member. You only see chat messages sent after you joined, and invitations can only go to friends.
- Blocking is checked in both directions in these rules. Block someone and their profile, posts, comments and reactions disappear for you, yours disappear for them, and neither of you can message the other.
- Your block list and your reports are visible only to you (and reports to our moderators).
Locked-down functions
Some database functions run with more rights than the person calling them, so they can do something narrow and checked, like posting a comment. Each of these functions sets an empty search_path, and names every table it touches in full. That closes a known trick where a caller plants a look-alike table and gets a privileged function to use it. Private helper functions and tables sit in a separate schema, flare_private, that app accounts can’t call or read except for a handful of yes-or-no checks the access rules need.
Our staff
A small team can review reports and manage accounts, in three ranks: moderator, admin and super admin. Moderators can hide, restore or remove content and resolve reports. Suspending, banning and verifying need an admin. Changing anyone’s role needs a super admin, and nobody can change their own. Every staff action is written to a moderation log and an audit log, which only staff can read.
Your location
When you join or post in a Link
To join a Link or post in it, you have to be within three miles of it. The check works like this:
- Your phone asks iOS for a fresh fix: no more than 10 seconds old and accurate to 150 meters or better.
- Before anything leaves the phone, it rounds the coordinates to three decimal places, about 110 meters, and sends them with the time the fix was taken.
- On the server,
require_presencechecks that the Link is live, that the fix is less than two minutes old, and that the distance, worked out with the haversine formula on a 6,371 km Earth, is under 4.828 km (three miles). - The rounded coordinates are used for that check and then dropped. They aren’t written to any table in our database. The only thing saved is that you joined, and when.
A few Links our team runs, such as streamed events, can turn the distance check off.
Your feed and nearby alerts
To rank your feed, the app sends your position rounded the same way, to three decimals. It’s used for that request, and the only thing saved is which posts were shown to you. If you turn on alerts for things happening nearby, the app rounds your position to one decimal, about 11 kilometers, and that rough area is the only location we keep about you. If you turn alerts off, the area is cleared.
Places, not people
A Link is pinned to the venue it’s at, not to the person who started it. Its stored location is rounded to four decimals, about 11 meters, so a pin lands on the place. A community’s location is rounded to two decimals, about one kilometer.
Your photos and videos
Cleaned on your phone
Before a photo is uploaded, the app rebuilds it with Apple’s ImageIO framework. It decodes the picture, turns it the right way up, scales it down (to at most 2,048 pixels on the long side, 1,024 for profile pictures), and writes a brand new JPEG that carries the pixels and nothing else. Location tags, camera details and other hidden data in the original file aren’t copied across. Videos are re-encoded with AVFoundation to fit within 720p. The export clears the file’s metadata (metadata = []) and applies Apple’s forSharing filter, which removes location and identifying details. Large videos are encoded a second time to about 2.2 megabits per second. In the rare case that the phone can’t decode a photo at all, the original file is uploaded as it is.
Stored privately, opened with short-lived links
Files are kept in a private Cloudflare R2 bucket. The app never holds the storage keys. Those exist only as secrets inside our server function, media. To show you a photo, the app asks that function, signed in as you. The function asks the database (media_readable) whether you may see that exact file, and only then signs a link that expires. The links are signed with AWS Signature Version 4 (HMAC-SHA256), and an upload link is bound to the file type it was made for.
| What | How long its link works |
|---|---|
| Moments, Circle files and photos in messages | 10 minutes |
| Photos in public places (posts, covers, profile pictures) | 1 hour |
| An upload | 15 minutes |
Moments can only be opened by the audience they were posted to. Circle files can only be opened by the Circle’s members, and message photos only by the people in that chat. Moderators can open a private file only while a report about it is waiting for review.
Checked on arrival
Every upload goes to a path under your own account with a random name. The server checks that the file type is allowed for its purpose and that the size is within the limit: 5 MB for profile pictures, 50 MB for videos. After the upload, the server confirms with R2 that the file really is the type and size that was declared, and deletes it if it isn’t. Each account can upload 150 files an hour.
Cleaned up automatically
Every 15 minutes, a scheduled job looks for files nothing uses anymore. A removed post’s photo is deleted from storage a day after the post was removed. A file is kept longer only while a report about it is open, so moderators can review it.
Circle invite links
A link to join a Circle carries a 64-character code built from two random UUIDs. We keep only its SHA-256 hash, so the code itself isn’t stored anywhere on our side. Each link expires after 1 to 30 days (7 by default), works a set number of times (1 to 50, 10 by default), and can be revoked. A Circle can have at most 10 open links. Using a link sends a request that the Circle’s owner or admins approve. It doesn’t let anyone straight in.
Limits that stop abuse
The database also limits how fast anyone can act, counted over a rolling window:
- 30 messages a minute.
- 150 uploads an hour.
- Three new communities a day, 20 community posts an hour and 60 comments an hour.
- 10 new Circles a day.
Notifications have limits too. At most one notification an hour for likes from the same person, and at most one every two hours for new posts from each community. About 30 activity notifications a day in total. Reminders are only sent between 10 a.m. and 10 p.m. your time, at most five a day.
Notifications
The queue that sends notifications doesn’t store what a message says. The preview is put together at the moment of sending, after checking that the message is still there, that it’s for you, and that neither of you has blocked the other. It then goes to your phone through Apple’s push service, which every iPhone app uses. A phone that hasn’t checked in for 90 days is removed from our list, and so is any phone Apple tells us is no longer valid.
This website
This site loads nothing from anyone else: no outside scripts, no web fonts from other companies, no analytics and no cookies. Pages for a shared Link are served with a strict Content Security Policy that allows only our own files, and the same goes for our staff page.
Deleting your account
In Settings, Delete account asks for Face ID or your passcode (if the phone has one). Then the database removes, at once:
- Your posts, comments, reactions, follows and blocks.
- The messages you sent and your read receipts.
- Your attendance at Links.
- Your birthday record, your notification tokens and your queued notifications.
It replaces your profile with “Deleted account” and queues your files for deletion. A background worker then deletes every file you uploaded from storage, along with its thumbnail. If anything fails, it tries again every minute until the job is done, and only then closes your sign-in. Some things are kept: reports and moderation records, and Links you started, which stay up without your name.
What we don’t do
We don’t sell your information and we don’t show ads. There are no advertising or analytics tools in the app. We don’t collect your contacts, your advertising identifier, health data or payment information.
The legal details are in our Privacy Policy. To get a copy of your data, or with any question about this article, email legal@goingsapp.com from the address on your account. If you think someone got into your account, change your password with the emailed code and write to info@goingsapp.com.
