# Security

> Our approach to keeping your data safe

Your artwork data represents your life's work, and we take the responsibility of caring for it seriously.

This article outlines our approach to security and privacy: it's a little long, but it's intended to answer many of the questions you might ask.

If you have specific questions about how Valise is made, our processes or how we store and handle data please get in touch at [team@valise.works](mailto:team@valise.works).

### Privacy

Security and privacy are often talked about together, but are distinct things. Security is about _keeping your data safe from unauthorized access_ (from us, from hackers, etc.). Privacy, on the other hand is about _respecting your rights and consent_ with the data you've entrusted to us.

Some ways we [preserve your privacy](https://valise.works/privacy):

- We collect as little personally identifiable information (PII) as possible. To use Valise, you only need to provide an email address. You can optionally provide your name, but it's not required.
- We don't sell your data. Your data is only shared with our vendors who help us operate Valise as a service (think: our hosting providers, who run the servers that store your data).
- We don't train AI models on your data. Only one feature, [scanning][document-scanning], uses AI. We only work with providers that guarantee their models won't train on your data, and delete your data within 30 days of the request. This feature is opt-in. No data is sent to a provider unless you choose to scan a file.

### Corporate security

A big part of keeping your data safe is keeping our own systems safe. We're a small company, but we implement a number of best practices to protect your data:

- We use password managers to generate and store unique, strong passwords for all infrastructure accounts.
- We use multi-factor authentication for all accounts that support it.
- We limit access to user data to only people who need it to do their jobs.
- Of those who can access user data, we'll only access your data when you ask us to or to troubleshoot problems.

### Product security

We make security a priority in the vendors we choose and tools we use to build Valise:

- We use a memory-safe programming language called Go for our server, which helps prevent many common security vulnerabilities.
- We minimize our use of third-party code libraries ("dependencies") and review the ones we do use to prevent supply-chain attacks.
- We use a database, SQLite, that can't be exposed over the internet, which reduces the risk of a data breach by networking misconfigurations.
- We use simple, proven methods for authentication and authorization, like OAuth2 and secure cookie-based sessions. Newer techniques like JWTs can reduce load on servers, but also risk leaking data if not implemented correctly.
- We avoid leaking personal information in diagnostic tools like logs by using anonymized identifiers instead of real names.

### Access controls

And finally, we've also built Valise to give you tools to control who can access your data and to revoke that access at any time.

- We restrict sensitive actions, like exporting data and changing access controls, to owners of an account.
- We give you [access controls][members] to manage who can see and edit your data. You can revoke that access at any time.
- We also give you the option to share your data with others, like through [collection previews][collection-previews]. You can revoke that access at any time, or set it to expire.

### Frequently asked questions

#### Where is my data hosted?

We use [Fly.io][fly.io] to host our server and database, using
servers located in Toronto, Canada. Fly.io is SOC2 compliant, which means
they've been audited for security and privacy practices. The company was founded by
ex-security consultants.

#### How do you encrypt data?

All data sent between your browser and our servers is encrypted via TLS.
This is the industry standard used by banks and credit-card
processors.

Our database is encrypted at rest using the encryption provided by our
hosting provider.

#### Do you support password-based logins?

We support [logging in][account] via Google, with a code sent to your email,
or with a passkey. We don't support password-based logins because they're
less secure than the alternatives.

Passwords are among the most common attack vector for hackers. Many people
choose very weak passwords or re-use the same password from other sites
which have [had data breaches](https://haveibeenpwned.com/). Hackers can then
guess your password and access your account.

Email codes, on the other hand, are randomly generated for each login and
can only be used once. They expire after 10 minutes, only work in the
browser where you asked for one, and stop working after a few wrong tries.

[Passkeys][passkeys] are stronger still. The secret never leaves your device,
so there's nothing to leak, guess, or intercept, and they can't be phished.

#### What if I have a question that isn't answered here?

We're happy to talk more about security with you. [Email us questions](mailto:team@valise.works), or we can set up a call to chat one-on-one about any concerns.

[account]: https://valise.works/help/account
[passkeys]: https://valise.works/help/account#passkeys
[collection-previews]: https://valise.works/help/collections
[members]: https://valise.works/help/team-members
[fly.io]: https://fly.io
[document-scanning]: https://valise.works/help/scanning

## Related articles

- [Your account](https://valise.works/help/account): How you sign in, and how to manage your personal details
- [Invite members](https://valise.works/help/team-members): Invite others to help you manage your vault
