How-to
Expose only approved Ignition tags to an external historian
Short answer
No — on Ignition 8.1 an authenticated OPC UA client browses everything, and the gateway will not run a second UA server. Republish only the approved tags through a separate server such as Node-RED with the Ignition Node-RED module, firewall Ignition's own endpoint, or move to 8.3 role-based access.
On this page
In Ignition 8.1 you cannot hide tags from an external OPC UA client, and you cannot run a second OPC UA server inside the gateway for outside users: once a PI or IBA collector authenticates, it browses everything the server publishes. The fix is structural. Publish only the approved tags through a separate republisher — Node-RED with the Ignition Node-RED module is the established pattern — point the historian at it, and firewall the gateway's own endpoint. Ignition 8.3 adds role-based access control at the device and tag provider level, which makes an upgrade the second legitimate path.
Why does an external OPC UA client see every Ignition tag? #
Because on Ignition 8.1 every check happens at session setup — the endpoint security policy and the user source decide who may connect, and nothing after authentication decides what the session may browse, so the collector sees the whole address space once it is in.
Follow the session. The collector opens a session to the gateway's OPC UA endpoint, negotiates a security policy, authenticates, then browses the address space and creates subscriptions. The server settings live in the gateway webpage under Config → Connections → OPC → OPC UA Server Settings; when tag provider exposure is enabled there, third-party UA clients can access tags in the provider. That switch is per provider, never per tag, and the device connections with their raw PLC addressing appear alongside the providers. Ignition will not run a second OPC UA server instance for external users, and it cannot hide selected folders from a client that is already connected. On 8.1, isolation is enforced by network topology, not by the server.
| Control point in 8.1 | What it governs | What it never governs |
|---|---|---|
| Endpoint security policy and mode | Encryption and signing on the wire | Which nodes are visible |
| User authentication | Whether a session is allowed at all | Per-device or per-provider read rights |
| Tag provider exposure | Whether a provider appears alongside the devices | Which folders or tags inside that provider appear |
Which data path can carry only the approved tags? #
Every workable path inserts a hop that contains nothing but the curated tag set — or replaces the server with one that enforces roles — and six paths do that in practice, listed here with what each one costs you to keep running.
| Path | Protocol at the historian | Native to Ignition | Tag-level isolation | What you maintain |
|---|---|---|---|---|
| Upgrade to 8.3 and apply role-based access | OPC UA | Yes | Device and tag provider level | The upgrade project itself |
| Separate republisher (Node-RED with the Ignition Node-RED module) | OPC UA | No | Exact — only published nodes exist | A second application: patching, backups, monitoring |
| Modbus TCP server module fed by script | Modbus TCP | Module inside the gateway | Exact — only mapped registers | Register map and publishing script |
| EtherNet/IP server module presenting Logix-style tags | EtherNet/IP | Module inside the gateway | Exact — only published tags | Tag map and publishing script |
| Direct writes to the historian's database | SQL | Gateway scripting | Exact — only what you insert | Schema agreement with the historian team |
| Custom API on the WebDev module | HTTP | Module | Exact — only exposed endpoints | API code and collector integration |
Which approach fits a PI or IBA collector? #
Decide on two questions — must the collector speak OPC UA, and can this gateway move to 8.3 — and when the answer is OPC UA plus staying on 8.1, commit to the separate republisher, because it is the one design that cannot leak by misconfiguration.
If the gateway can move to Ignition 8.3: do that first. Configure role-based access for the collector's role at the device and tag provider level, then test from the historian's network that internal providers and device connections are refused. That is the cleanest outcome; it removes the extra component entirely.
If it stays on 8.1 and the collector needs OPC UA: build the separate republisher. The collector keeps its native OPC UA connector, and the isolation is structural — the historian never holds a session on Ignition's endpoint, so nothing configured wrong inside Ignition can expose PLC communications or internal tags. Budget honestly for it: the republisher is a second application you patch, back up, monitor and document.
If only Ignition-native components are allowed: script the curated tags into a Modbus TCP server module or an EtherNet/IP server module, but only after confirming the collector's interface list actually includes that protocol. Otherwise write straight into the historian's database or serve the data through a WebDev API.
If OPC UA is not actually required: bridging OPC UA PLC data to MQTT with an edge PC is the same publish-only-what-you-choose pattern over MQTT, and it removes the browse problem entirely.
How do I build the separate publishing path? #
Build it in seven steps — define the export list, place the host between networks, connect on explicit tag paths, build a flat external address space, lock the endpoint, close the direct path, then point the collector — and subscribe to exact paths, never a browse.
- Define the export list. Put every historian-facing tag in one dedicated folder or UDT set, and record for each one: tag path, data type, engineering units, expected update rate.
- Place the republisher where it reaches both networks. Run it on a fanless mini PC with one network interface toward each side, or place it in a DMZ. This is the IEC 62443 zone-and-conduit model in practice: assets that need the same level of protection share a zone, zones exchange traffic only through defined conduits, and the historian's network gets no route into the control zone — the republisher is the conduit.
- Connect the republisher to Ignition. In the Node-RED pattern, the Ignition Node-RED module subscribes to the specific tag paths from step 1 — exact paths, not a folder or wildcard subscription, so a new internal tag can never appear at the historian.
- Build the external address space. Use flat, stable node names the historian team maps once. Treat the endpoint the same way as hardening a Node-RED OPC UA server that exposes PLC tags: same exposure, same rules.
- Lock the endpoint. Require a signed-and-encrypted security policy, create one dedicated historian user, and grant it read-only access.
- Close the direct path. Firewall the Ignition gateway's OPC UA endpoint port so the historian network cannot reach it, with an exception only for the republisher host, and remove any collector connection that still points at Ignition.
- Point the PI or IBA collector at the republisher and build its point list from the exported node names.
For the Modbus TCP variant, steps 3 and 4 collapse into one script that writes each curated tag to a fixed register on the server module. Size the map before building it — illustrative numbers: 24 approved tags, made of 16 analog values as 32-bit floats, 6 counters as 16-bit integers, and 2 shift totals as 32-bit integers. Register demand is 16 × 2 + 6 × 1 + 2 × 2 = 32 + 6 + 4 = 42 holding registers. Map the floats to 40001–40032, the counters to 40033–40038, the totals to 40039–40042, and keep the map with a column each for tag path, register, data type, scaling and word order. Every 32-bit value spans two registers, so agree the word order in writing before the collector is configured.
What breaks on republished tags? #
Most faults trace to the hop itself: stale values served through an outage, timestamps taken at forwarding time, word-order errors on 32-bit Modbus values, nodes left writable, sampling slower than the historian's scan, and collectors still holding a session on Ignition.
| Symptom at the historian | Mechanism | Fix |
|---|---|---|
| Flat line during a gateway or PLC outage | The republisher keeps serving the last value it received | Propagate quality to the external nodes and publish a heartbeat counter the historian can alarm on |
| Timestamps offset from Ignition's | Values are stamped when forwarded, not at field report time | Pass the source timestamp through where the server allows it, and sync every host to one time source |
| Garbled floats on the Modbus route | A 32-bit value spans two 16-bit registers and the word order does not match the client | Agree the word order in the register map, then prove it with a known value |
| Historian writes reach process values | External nodes or registers were left writable | Set external nodes read-only and keep the publishing script one-directional |
| Short events go missing | Republisher sampling or deadband is slower than the historian's scan rate | Match subscription rate and deadband to the historian's compression settings |
| Internal tags visible anyway | The collector still has a session on Ignition's own endpoint | Remove that old collector connection; the firewall rule from the build step keeps it from coming back |
How do I verify the historian sees only the approved tags? #
Verify from the historian's own host: it must reach the republisher's endpoint and must fail to open a TCP connection to the Ignition gateway's OPC UA port — that failed connection is the pass criterion, not a fault.
- Run the port test from the historian host: republisher endpoint reachable, Ignition UA endpoint refused.
- Connect a generic OPC UA browser with the historian's credentials and walk the entire tree against the export list: nothing extra appears, and no device or PLC paths exist anywhere in it.
- Attempt a write to one external node with those credentials — the refusal is the result you want, and the one that keeps the historian out of the process.
- Let the heartbeat counter raise an alarm at the historian when the republisher stops, and re-run the browse check whenever the export list changes.
Pass those checks and the split holds by construction: the historian reads exactly its list, writes go nowhere, and Ignition's endpoint is dark from its network.
Questions asked
Does Ignition Edge allow external OPC UA clients at all?
Not in 7.9, and not unlicensed in 8. Ignition Edge 7.9.x gives external clients no access to the OPC UA server, and Edge 8 exposes it only when the deployment is licensed for it. An Edge site gets the same answer as full 8.1: republish the curated tags from a separate server, and verify the Edge license before promising the collector a connection.
Can I hide tags by moving them to a tag provider the UA server does not expose?
Partly. The UA server settings let you choose which tag providers appear to third-party clients, so an unexposed provider stays invisible. But any provider you do expose is browsable in full, and the device connections with their raw PLC addressing still appear in the address space, so this is coarse containment, not tag-level control.
Why do the role permissions I set in Ignition not affect the OPC UA collector?
On 8.1, OPC connections authenticate at the gateway level, so permissions tied to Ignition roles and tag providers never gate an OPC UA session — the collector is already inside once authenticated. Per-role control over devices and tag providers is what 8.3 introduces; on 8.1 the only lever that changes what a connected client sees is which providers the server exposes at all.
Where do I enable and configure the OPC UA server in the gateway?
Open the gateway webpage and go to Config → Connections → OPC → OPC UA Server Settings. There you enable the server, set the endpoint security policies, and control whether tag providers are exposed to third-party clients. Treat that page as the one place an 8.1 gateway decides who connects — not what they see.