Understand encryption at rest and in transit

Learn how ordinary Dosya files use AES-256 at rest, how connections protect data in transit, and when Vault client-side encryption is the right boundary.

Last reviewed

Files in ordinary Dosya storage are encrypted on the storage service with AES-256 encryption at rest. Network connections protect data while it moves: the HTTPS services require TLS 1.2 or higher, and current supported clients negotiate TLS 1.3. SFTP sessions use SSH rather than TLS.

At-rest encryption and client-side encryption solve different problems. Ordinary files reach Dosya through an encrypted connection and are then protected by server-side storage encryption. Vault adds client-side encryption: the device encrypts Vault content before upload, and the service stores ciphertext.

Encryption boundary map comparing HTTPS or SSH transport, ordinary encrypted storage, and client-side Vault protection.
Choose the storage path by deciding whether transport and server-side protection are sufficient or the file must be encrypted on your device first. Open full-size screenshot.

Steps: choose the correct protection

  1. Classify the file by sensitivity, collaboration needs, recovery needs, and any rules your organization must follow.
  2. Use ordinary storage when the normal Files interface, previews, integrations, sharing, and account recovery are required.
  3. Confirm that web and API endpoints use https://; use sftp.dosya.dev through SSH for an SFTP client.
  4. Use Vault when the content must be encrypted on the device before Dosya receives it, and you can manage a separate passphrase and recovery key.
  5. Store the Vault recovery key somewhere independent of the signed-in browser before placing irreplaceable content in an encrypted Space.
  6. Test the chosen path with a non-sensitive file, download it through the expected client, and verify the resulting file before adopting the workflow.

What each layer protects

Encryption in transit protects the connection between a client and Dosya. HTTPS uses TLS; SFTP uses SSH. This layer reduces exposure on the network but ends at the service receiving the request.

Encryption at rest protects stored ordinary file objects with AES-256. It is server-side storage protection. It does not mean an ordinary file is end-to-end encrypted, and it does not prevent access granted through your account, workspace role, integration, API key, or share link.

Vault client-side encryption protects the file before transfer. A Vault passphrase or recovery key unlocks the local encryption identity. Losing both can make encrypted content permanently unreadable; Dosya cannot reset that passphrase in the way it can reset an account password.

Practical security boundaries

  • A password-protected share link controls recipient access to an ordinary stored file; it does not convert that file into Vault ciphertext.
  • An API key, WebDAV connection, S3 gateway, or SFTP session can access only the ordinary content allowed by its account, role, workspace, and key restrictions. Vault files are excluded from these connection paths.
  • Encryption cannot protect an unlocked session from someone controlling the device. Lock Vault, sign out on shared hardware, enable two-factor authentication, and revoke unfamiliar sessions.
  • Downloading a Vault file creates a decrypted local copy at the destination you choose. Protect or delete that plaintext copy according to your own device policy.

Expected result

You can name the protection used at each stage, explain who can unlock the chosen storage path, and select ordinary storage or Vault without confusing server-side encryption with client-side encryption.

Frequently asked questions

Are all uploaded files encrypted?

Ordinary files are encrypted in transit and at rest. Vault files add client-side encryption before upload.

Is AES-256 at rest the same as end-to-end encryption?

No. AES-256 describes the at-rest cipher used for stored ordinary files. End-to-end protection depends on where encryption occurs and who holds the keys; Vault is the Dosya workflow designed for that stronger boundary.

Which protocol protects SFTP traffic?

SFTP runs over SSH. It does not use HTTPS or TLS for that session.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.