For everyone

Who can see what

See what devices and servers store, what they send, and who can read it.

Your messages, files, and calls go to your snug server. Whoever runs the server can read what it stores. That’s snug for hosted servers and your operator for self-hosted servers. See what reaches other services.

Scroll sideways or use the arrow keys to read the full diagram.
Messages, files, calls, and feedback reach the snug server. Link previews,
GIF search, pictures on other sites, and players you press may reach a named
outside service.

Who holds what

  • The snug server holds names, sign-in records, settings, messages, files, feedback notes, and its own logs.
  • For hosted servers, snug runs the host and its backups and can access its data. Each installation keeps its own database, files, and backups in private storage in the same region. DigitalOcean hosts the machines and backups in the United States or Europe, as the owner chose. snug opens a hosted server only at the owner's request, such as for an export or deletion, or when the law requires it. Otherwise snug doesn't read its messages, files, or calls. The owner manages the server through snug hosting and has no access to the host itself. The server reports health and recent logs, which can name you and your device when a connection closes or a call has trouble. snug's hosting operators and the server owner can read those logs.
  • On a self-hosted server, the operator controls the machine and its backups.
  • Each of your devices holds its own sign-in, your drafts, a copy of recent conversations, and its microphone, camera, and appearance choices. The phone app keeps its sign-in in the phone's protected storage, and leaves its sign-in and saved conversations out of cloud backups.
  • snug.chat holds hosting accounts and payment records, hosting support requests, license purchases and activations, and the release downloads.

What the server can see

Anyone with access to the host can read or change everything the server stores, including direct messages.

Voice, cameras, and screen shares pass through the server during a call. The server doesn't record them.

The server's log notes each closed connection by name and device name, with how long it lasted and why it closed. When an app gives up repairing a dropped call, the log names the step it reached and nothing else about the error.

The server records new members, voice joins and departures, and moderation actions. Members see new members and activity in voice channels they can enter. Admins see the full history and set how many entries to keep.

While you're connected, admins can see which app each of your connections uses and the country it connects from. In a call, connection info also shows them its IP address. The server keeps none of this after the connection closes, and looks up countries in its own copy of a public country database, so it never sends your address anywhere.

snug is not end-to-end encrypted. The host operator can change the browser app or inspect stored data. The desktop and phone apps carry their own copy that the server can't change. The server still receives everything you send from those apps.

An admin can make a sign-in code for any member. Whoever enters it signs in as that member on a new device, and that device shows up in the member's sign-ins under Settings > Account.

Notes from send feedback and report to admins… stay on the server for its admins. attach the app log includes the desktop app's log. snug hosting support doesn't receive the notes or logs. An error stays on your device until you copy it.

What snug hosting shows

A hosted server reports to its page in snug hosting, which the owner and the snug team can open. The report carries:

  • health, version, uptime, CPU, and memory
  • seats in use, the seat limit, and the number of people online
  • storage as byte totals for files, messages, member records, and other database space
  • each backup, its size, and when it last passed its check
  • the last 60 lines of the server's log, which can name members and their devices. snug redacts license keys, bearer tokens, and any line that mentions a password, secret, token, certificate, or admin setup code.
  • members' names and which of them are admins, which snug hosting reads when someone opens the server's settings there and keeps until the next read

It never carries messages, files, or call media. The snug team can still reach those on the machine itself.

For the server's Overview, snug hosting keeps each day's highest number of people online and its file storage for about a month. Deleting the server deletes them.

From that page, the owner and the snug team can make any member an admin. The first-admin setup code shows there to the owner. The snug team can show it to set a server up for someone, and snug records each time it does.

Hosting accounts and payments

Owners, and friends who chip in, sign in to snug hosting with their email. That hosting account is separate from your account on any snug server. It stores your email and sign-in sessions, a salted hash of your password if you set one, and your two-step sign-in key and hashed recovery codes if you turn that on. snug hosting records each change to those settings and emails you about it. Amazon SES sends the sign-in links and other email.

Stripe takes card payments, and snug never receives the full card number. Each card gets one seven-day refund. To hold to that, snug keeps Stripe's fingerprint of the card behind each server's first payment, and of any card a refund went to, even after the server is gone. A fingerprint identifies a card without being its number.

Anyone with a server's chip-in link sees that server's name, address, and credit. The server's owner sees, under Billing, each friend's hosting account email, the name they added, and each amount they chipped in. Chipping in grants no membership or admin rights. The owner can replace the link under Billing, and the old one stops working.

A paid server's members see the same credit in the snug wordmark's menu. In the browser and desktop apps, the menu opens the chip-in page. The app finds the chip-in page by the server's hosting ID. Each member's app keeps the hosting ID. The page at the server's address also shows the hosting ID in its support link while the server is paused or restarting. Someone who has left the server, or who knows the server's address, can still open the chip-in page. To stop that, the owner turns off Show credit in snug under Billing. Admins can hide the credit for everyone on the server with show chip-ins in the snug menu under Settings > Admin > Server. The admin switch doesn't close the chip-in page.

A hosting support request holds what you write, your hosting account's email, and a link to the server when you start it from the app. Only you and snug hosting support read it, and snug hosting emails each message to the other side too. It carries nothing from the server or your device.

What encryption covers

Everything between your device and the server travels encrypted: HTTPS for the app, and encrypted WebRTC for calls. The server decrypts what it receives, which is how it stores messages and routes calls.

snug doesn't encrypt what the server stores. If you run a self-hosted server, turn on disk encryption through the machine or VPS provider, and keep off-host backups encrypted.

What reaches other services

A request reveals the sender's network address and the requested URL to the service that receives it.

From the server

  • When someone posts a link, the server fetches it to make a preview, so the linked site sees that URL. When the page names a picture, or the link is itself a picture, the server reads that picture's first bytes to learn its size. GIFs from GIF search are the exception: their size comes from the search, and the server never contacts KLIPY. The server never fetches an address on a private network.
  • When someone gives a media bot a link, the server asks that site for the title. For anything but YouTube, it fetches the sound from there too.
  • Caddy, the web server in front of snug, gets the server's HTTPS certificate from a public certificate authority such as Let's Encrypt. Certificate authorities publish every certificate in public logs, so anyone can find the server's domain or address there.
  • The server activates its license with snug.chat and checks in on a schedule after that. License activation and checks omit the domain, configured IP address, names, messages, files, call media, and stored data. The license service can still see the server's network address. Server licenses explains what happens when a check fails.
  • When a phone app has notifications on, the server seals each notification for that phone and sends it through snug's push relay to Apple or Google. The relay, Apple, and Google see delivery identifiers, network addresses, and timing. They can't read the words, the sender, or the channel. The relay keeps no messages and no list of members.

From a self-hosted host

  • On a host that follows updates, as the installer sets it up, snug-ops asks snug.chat for a newer release during the daily update window and whenever snug-ops status runs, and downloads one if there is one. snug-ops upgrade asks whenever the operator runs it.
  • snug-ops ports, which prepare and install also run, has snug.chat try the server's ports from the internet. snug.chat learns the host's address and the port numbers, and nothing else.
  • On a host without a public address of its own, install asks snug.chat which address reaches it.

An operator can turn off snug's push relay for their server. Phones on that server then get no notifications.

From your device

  • GIF search sends your search words and your server's address to KLIPY, and loads the results from KLIPY's media hosts.
  • A picture from another site, such as a GIF, a photo, or a link's artwork, loads from that site as the message arrives.
  • The player for a linked video or song loads from its provider when you press play.
  • Stills on video cards come from YouTube or Vimeo, once you turn them on.
  • A YouTube video the media bot plays streams to your device straight from YouTube.
  • The desktop app asks snug.chat for a newer version of itself and downloads it from there.
  • On a paid snug-hosted server, opening the snug wordmark's menu asks snug.chat for that server's chip-in credit. snug.chat learns the server's hosting ID and your device's address. The request carries no sign-in and nothing about your account on the server.
  • On the same servers and on free ones, an admin who opens Settings > Admin > People, or goes to invite someone while every seat is in use, asks snug.chat what the server's seats cost or what an upgrade gives. snug.chat learns the same two things. The answer holds only prices and seat counts, which say nothing about who is on the server.
  • The phone app registers with snug's push relay, and with Apple or Google, when you turn on notifications. On Android, Google's Firebase also creates an installation identifier when the app starts, before you allow notifications.

To make pictures wait for your click, turn off show pictures from other sites in Settings > Appearance. Video cards stay plain until you turn on show stills on video cards in the same place. Change how snug looks has the details.

Who can get in

Anyone who opens the server's address can join with a new name, unless an admin sets a shared password or every seat is in use. The server stores that password only as a hash. It guards new names only, so changing it doesn't sign anyone out or unlink a device.

Any member can make an invite link, unless the server limits links to admins. A link lets new people in without the password for seven days. Its maker or any admin can revoke it sooner, and it stops working if its maker loses the permission to invite.

An unlisted address still appears in public certificate logs, so treat it as known. Enter the password only on a page with trusted HTTPS.

What deletion removes

Deleting your account removes it and what you added from that snug server. Delete your account lists what goes and what stays. Backups from before then still hold it until newer backups replace them. Removing a device ends only that sign-in. Forgetting a server in the phone app clears it from that phone and leaves your account on the server.

A paused server keeps its data until its owner deletes it, and its backups go with it.

Deleting your hosting account removes your sign-in, the card Stripe saved, and your support conversations. snug keeps its payment records and card fingerprints with no address on them.

What snug can't protect against

  • Anyone with access to the host: snug on a hosted server, the operator on a self-hosted one.
  • An admin who signs in as you with a sign-in code.
  • Anyone holding your unlocked, signed-in device.
  • Copies people make outside snug: downloads, screenshots, and backups.
  • What an outside service does with a request your device sends it.

What to protect

If you own a hosted server, protect the email behind your hosting account. Turn on two-step sign-in on its Account page, which your email address at the top of snug hosting opens. Keep the first-admin setup code to yourself until you've entered it.

If you run a self-hosted server, protect the host, state/.env, backups, and your .lic file. Store the license separately because backups omit it. Move to a new host covers when to move it.

As a member, link another device instead of sharing sign-in details or joining again under another name. If a device goes missing, choose remove device beside it under Settings > Account.