What is a data diode?

Hardware that lets data out and physically cannot let anything back in.

By Ihor Havrysh ยท Last reviewed July 2026

Eaglepedia mascot

A data diode is a hardware device that allows data to travel in one direction only, with no physical return path. It is used to move information into or out of a sensitive network without creating a route back in. It enforces direction rather than inspecting content.

Direction enforced in hardware

The idea borrows its name from the electronic component: current flows one way and not the other. A data diode does the same for network traffic, most commonly by using an optical link with a transmitter at one end and a receiver at the other, and simply not fitting the components that would allow a signal to return.

A firewall can be configured to permit traffic in one direction, so it is fair to ask what a diode adds. The answer is the nature of the guarantee. A firewall rule is software: it can be misconfigured, changed by someone with access, or subverted if the device itself is compromised. A diode has no return path to enable, so there is no configuration that could accidentally create one.

NIST treats one-way transfer as a distinct control in its guidance on operational technology security, and in the UK products can be assessed under the NCSC's Commercial Product Assurance scheme. That is why diodes appear in environments where a boundary has to hold on evidence rather than on assurance: industrial control systems, defence and government networks, and critical infrastructure. In those settings, controls that depend on software rules being correct are considered insufficient on their own.

The engineering consequence: no acknowledgements

Removing the return path removes something most networking quietly relies on. Ordinary TCP is a conversation, with the receiver confirming what arrived so the sender can resend anything lost. Across a diode there is no way for the receiver to say anything at all.

So a bare diode is not much use by itself. Deployments pair it with software that terminates the connection on each side and rebuilds the flow across the gap, using approaches such as sending data more than once and adding forward error correction so that loss can be recovered without a reply. Reliability moves from being negotiated to being engineered into the sending side.

A data diode: a transmitter and receiver joined one way, with no return path fitted and no acknowledgements possible
Take away the return path and you take away the acknowledgement, which is why the sending side has to carry reliability on its own.

That combination has its own name. The hardware alone is the diode; the hardware plus the software that inspects, validates and transforms what crosses is usually called a unidirectional gateway. It is a distinction worth holding onto when reading product material, because the two are priced and scoped very differently, and almost every practical requirement needs the gateway.

Import and export are also not symmetrical. Moving data out of a sensitive network is mostly a confidentiality question: what is allowed to leave. Moving data in is an integrity question: what might arrive. The controls that matter differ accordingly, which is why an import path is usually the more heavily inspected of the two.

What it does not do

A diode controls where data may go. It does not examine what the data is, and conflating the two is the most common error in this area.

A spreadsheet with a malicious macro passes through a correctly functioning diode without any difficulty. So does a polyglot file that is valid as two formats at once, and so does a zip bomb waiting to be decompressed on the other side. In each case the diode is doing exactly what it is for. Direction was never the property in question.

High-assurance designs reflect this by treating the diode as one stage of a pipeline rather than as the control. A typical import path moves data through a first diode into a controlled inspection zone, applies filtering and sanitisation there, and only then moves approved content onward through a second diode into the protected domain. The separation and the inspection are deliberately separate jobs.

The same reasoning applies to an air-gapped network. A diode is often introduced to remove the need for someone to carry a USB stick, which is a genuine improvement, because it replaces an unaudited human process with an automated and logged one. It addresses three of the NCSC's four properties for a good transfer: audited, authenticated and automated. The fourth, inspected, is still outstanding.

Where it sits relative to everything else

A diode is one component of a boundary, and it helps to be clear about which job each part does.

  • An air gap removes the connection, and moves the risk to whatever carries files across instead
  • A data diode restores a connection while guaranteeing it only works one way
  • A unidirectional gateway adds protocol handling, validation and content inspection to that link
  • A cross-domain solution is the full accredited system for moving data between security domains, of which a diode is often one part
  • Content disarm and reconstruction handles the file itself, rebuilding it from components that carry legitimate content

Read down that list and the division is clear enough. The first four are about routes and permissions. Only the last is about what is inside the file, which is why it is added last so often, and is the piece most often missing.

The diode guarantees the direction. Something still has to vouch for the file. The Red Eagle Tech CDR API rebuilds documents from their safe components over a straightforward HTTPS call, so what crosses your boundary is structurally clean. Published per-document pricing and self-service signup.

Frequently asked questions

A firewall enforces direction in software, through configuration that can be changed, mistaken or bypassed if the device is compromised. A data diode enforces it in hardware, by not providing a return path at all. The distinction matters in high-assurance environments because the guarantee does not depend on anything being configured correctly.

The diode is the hardware component that physically enforces one-way flow. A unidirectional gateway packages that hardware with software that inspects, validates and transforms data as it crosses. Most real deployments need the gateway rather than the bare diode, because moving data one way is only useful if something also handles protocols, formats and content.

You do not get an acknowledgement across the diode, which is the central engineering constraint. Protocols that expect a reply, such as ordinary TCP, cannot work across one unmodified. Gateway software handles this by terminating the connection on each side and using techniques such as redundant transmission and forward error correction, so reliability is built into the sending side rather than negotiated with the receiver.

No, and this is the most common misunderstanding. A diode controls which direction data may travel. It does not examine what the data is. A document carrying a malicious macro passes through a correctly functioning diode without difficulty, because the diode is doing precisely its job and its job is direction. Inspection is a separate layer that has to be added deliberately.

Products can be assessed under the NCSC's Commercial Product Assurance scheme, and certification status changes as products are evaluated and renewed. If accreditation matters for your programme, check the NCSC's current listings directly and ask any supplier for their present certification documentation rather than relying on marketing claims.
Ihor Havrysh - Software Engineer at Red Eagle Tech

About the author

Ihor Havrysh

Software Engineer

Software Engineer at Red Eagle Tech with expertise in cybersecurity, Power BI, and modern software architecture. I specialise in building secure, scalable solutions and helping businesses navigate complex technical challenges with practical, actionable insights.

Read more about Ihor

Discovery call

A friendly 15-minute video call with Kat to understand your needs. No preparation needed.

  • Discuss your project
  • Get honest advice
  • No obligation
Kat Korson, Founder of Red Eagle Tech

Kat Korson

Founder & Technical Director

Our team has 10+ years delivering software solutions for growing businesses across the UK.

Send us a message

Your information is secure. See our privacy policy.

Find us