Skip to content
Get a quote

Data security

NAS encryption at rest and in transit: what to ask for

Encryption on storage comes in several layers, each protecting against a different threat. This guide explains what each layer does and what to ask before you buy.

Panaro Tech · · 7 min read

Tenders and security questionnaires increasingly ask whether storage supports NAS encryption at rest and in transit. The answer is rarely a simple yes or no. Encryption can be applied at the drive, the volume, the file system or the network protocol, and each layer protects against a different threat while leaving others open.

Under the Digital Personal Data Protection Act, 2023, data fiduciaries must take reasonable security safeguards to prevent personal data breaches. Encryption is one common safeguard, but what counts as reasonable for you is a question for your legal and security teams. This post explains the technology so that you can ask vendors precise questions and understand the answers.

What encryption at rest protects against

Encryption at rest means data is stored in encrypted form on the drives. Its main job is to protect data when the physical media leaves your control:

  • A failed drive returned under warranty or sent for disposal.
  • A stolen drive or a stolen system.
  • Decommissioned storage resold or scrapped.

It does not protect against an attacker who logs in with valid credentials, or ransomware running as a user. Once the volume is unlocked and mounted, the system decrypts data for anyone authorised to read it. That is why encryption complements, and never replaces, access control and snapshot-based ransomware protection.

Three ways to encrypt at rest

ApproachHow it worksPoints to check
Self-encrypting drives (SED)The drive encrypts internally; a key unlocks it at power-onNeeds SED drives and a controller or OS that manages their keys; all drives in a pool must support it
Volume or block-level encryptionThe OS encrypts the whole block device below the file systemCPU overhead; all data on the volume shares one key
File-system or dataset encryptionThe file system (for example native ZFS encryption) encrypts per datasetDifferent keys per dataset; interaction with replication, compression and deduplication

Modern server CPUs include AES instructions, which keep software encryption overhead modest for most workloads, but measure it on your own data and throughput targets rather than assuming.

What encryption in transit protects against

Encryption in transit protects data moving over the network from being read or altered by someone who can observe the traffic: a compromised switch port, a misconfigured mirror port, or traffic crossing a shared or untrusted link between sites.

  • SMB: SMB 3 supports encryption of sessions, which can be required per share or server-wide. Older clients that only speak SMB 1 or 2 cannot use it, and SMB 1 should be disabled anyway.
  • NFS: NFS traffic is traditionally unencrypted. Encryption is typically added through Kerberos with privacy (krb5p) or by tunnelling, each with set-up and performance costs.
  • Replication between sites: replication streams should travel over an encrypted channel such as SSH or a VPN, especially across the internet or leased lines.
  • Management traffic: web consoles should use HTTPS, and IPMI or other out-of-band interfaces should sit on an isolated management network.

Within a single, well-segmented server room, many organisations accept unencrypted storage traffic for performance and encrypt only traffic that leaves the room. That is a risk decision to make deliberately, not by default.

Key management is the hard part

Encryption is only as strong as the handling of its keys. Ask these questions about any design:

  1. Where is the key stored? A key stored on the same system, unlocked automatically at boot, protects removed drives but not a stolen whole system.
  2. Who can unlock after a reboot? If a passphrase must be typed after every power cut, someone must be available, or services stay down.
  3. How are keys backed up? Lose the key and the data is gone for good. Escrow keys securely, with at least two people able to recover them.
  4. Can keys be rotated? Understand whether rotation re-encrypts data or only re-wraps the key.
  5. Is an external key manager supported? Larger estates often centralise keys, using the KMIP protocol for example.

Side effects to plan for

  • Replication and backups: check whether encrypted datasets replicate in encrypted form, and whether the target needs the key.
  • Deduplication and compression: compression happens before encryption in well-designed systems; data encrypted by the client before reaching storage will not compress or deduplicate.
  • Recovery drills: include key recovery in restore tests, on a system other than the original.
  • Performance: benchmark with encryption on, at your expected client count.

Matching encryption to the threat

Before writing an encryption requirement into a tender, list the threats you actually face and check which layer addresses each one. This avoids paying for features that do not help while missing the ones that do.

ThreatAt rest helps?In transit helps?Other controls needed
Failed drive sent for replacementYesNoDrive retention or disposal policy
Whole server stolenOnly if keys are not stored on itNoPhysical security, external key storage
Traffic sniffed on the LANNoYesNetwork segmentation
Replication over a public linkNoYesVPN or SSH, firewall rules
Insider with valid loginNoNoAccess control, audit logs
Ransomware on a user PCNoNoSnapshots, backups, permissions

Drive disposal without encryption

If encryption at rest is not used, plan how failed and retired drives are handled. Options include keeping failed drives instead of returning them, overwriting drives with a verified wipe tool before reuse, or physical destruction by a certified disposal service. Record serial numbers and the method used for each drive. This is often a cheaper route to the same protection for organisations whose main concern is media leaving the building.

Writing the requirement

A clear specification names the layer, the scope and the key handling, for example: data at rest encrypted with AES-256 on all datasets holding personal data, keys held outside the storage system, SMB encryption required on those shares, and replication encrypted. Vague wording such as 'storage must support encryption' invites answers that meet the letter but not the intent.

Questions to ask your vendor

  • Which encryption-at-rest methods does the proposed configuration support: SED, volume or dataset-level?
  • Which cipher and key length are used, and is the implementation based on a well-known open component?
  • Where are keys held, and what happens at boot after a power failure?
  • Can SMB encryption be enforced per share? How is NFS traffic protected?
  • Is replication traffic encrypted end to end?
  • What is the measured throughput impact on the proposed CPU?
  • What is the documented procedure if a key is lost or an admin leaves?

Panaro builds storage on ZFS-based Awanstor SDS or on Linux and Windows. Encryption options depend on the configuration and operating system, so ask Panaro's engineers whether your configuration includes the encryption features you need, and how keys would be managed; the Awanstor NAS page lists the platforms. For data with residency concerns, see also our DPDP Act storage checklist. To discuss your security requirements, contact us.

Frequently asked questions

Does encryption at rest stop ransomware?

No. Encryption at rest protects data on drives or systems that leave your control. While the volume is unlocked, authorised users and any malware running as them can still read and overwrite files. Ransomware defence relies on access control, read-only snapshots, replication and offline backups.

What is the difference between SED and software encryption?

Self-encrypting drives encrypt inside each drive using built-in hardware, with keys managed by the controller or operating system. Software encryption runs on the server CPU at the volume or file-system level. SEDs add little CPU load; software encryption gives more control, such as separate keys per dataset.

Is SMB traffic encrypted by default?

Not necessarily. SMB 3 supports encryption, but whether it is required depends on server and share settings, and older clients may not support it. Check the configuration, enforce encryption on shares holding sensitive data, and disable the obsolete SMB 1 protocol.

Does the DPDP Act require storage encryption?

The DPDP Act, 2023 requires data fiduciaries to take reasonable security safeguards to prevent personal data breaches. Encryption is a commonly used safeguard, but the Act's detailed rules are still evolving, so confirm what is expected for your organisation with your legal team.