Skip to content
SkyKeephelp

A profile that is yours and nobody else's

Every signed-in person has a profile page: their login name, where their

sign-in codes are sent, a few lines about themselves, a picture, and a

read-only list of the compartments they belong to. The interesting part is

not what it shows but what it cannot show. There is no way to ask for

somebody else's profile, because the database itself limits a session to

one row — the person's own — rather than the vault relying on every future

query to remember a filter. Changing where sign-in codes go and changing a

password both re-require the current password, since a session that could

redirect the codes could hand over the account. And a profile picture is

untrusted input the vault will later serve back to a browser, so the vault

decides what a picture is from the file's own bytes, never from its name

or from the type the browser claimed for it.

A picture is whatever its bytes say it is, not what it is called

A drawing that can carry a script is refused by name

A file that is not a picture at all is refused

A bio longer than the vault accepts is refused before it is stored

A picture size limit always applies, even unconfigured

A picture size limit that makes no sense is refused, not ignored

A person sees their own account and the compartments they belong tostack

Redirecting sign-in codes re-requires the current passwordstack

A picture uploaded is a picture served back, to its owner alonestack