Four industries. One common requirement: attributable Windows logon.

CodeB is not a horizontal SaaS. The product line was shaped by years of work in clinical environments, on manufacturing floors, inside Windows-embedded industrial machines, and across regulated office environments — places where Windows logon is operational infrastructure, not a checkbox, and increasingly a NIS2 obligation.

Critical infrastructure · NIS2

All four sectors fall under NIS2 obligations.

NIS2 (Directive EU 2022/2555) classifies organisations across energy, transport, water, food, healthcare, manufacturing of essential goods, public administration, digital infrastructure and many other sectors as essential or important entities. Article 21 explicitly requires risk-managed authentication for every system that touches the operation. Whether you are a hospital, a CNC OEM, a packaging-line operator or a regulated office, CodeB gives you the cryptographically attributable Windows logon your competent authority expects — on-premises, on your own infrastructure.

Article 21 Essential entities Important entities DORA IEC 62443 EU CRA

What's hard here

Clinical staff sign in and out dozens of times a shift. Passwords get written under keyboards. Shared accounts make access-trail reconstruction impossible. The contactless and PKI cards your hospital already issues can serve as logon tokens, but typically aren't wired into Windows out of the box.

German clinics: the regulatory map

German hospitals and practices answer to a denser stack of obligations than almost any other sector. CodeB is deployed in this environment because it lines up cleanly with each one:

  • DSGVO & BDSG — patient records are special-category data under Art. 9 GDPR. Per-user authentication is the foundation of any defensible data-protection impact assessment. Shared accounts undermine that on day one.
  • § 203 StGB — Verschwiegenheitspflicht — German criminal law holds doctors, dentists and clinical staff personally responsible for protecting patient secrecy. Strong, attributable Windows logon makes the technical case that access was constrained to authorised individuals.
  • § 75c SGB V — since 2022, every German hospital must implement IT security "nach dem Stand der Technik". The Bundesärztekammer and DKG read this as mandating MFA on clinical workstations. CodeB is the MFA layer sitting at the Windows logon screen itself.
  • B3S Krankenhaus & KRITIS — the industry-specific security standard for hospitals under § 8a BSIG. Section 5 (Identity and Access Management) explicitly requires strong authentication for clinical systems. CodeB delivers that without bolting on a separate IAM platform.
  • KHZG funding — the Krankenhauszukunftsgesetz earmarked 15 % of digitalisation funds specifically for IT security. CodeB qualifies as an eligible measure under FT 10 (IT security), so the rollout is fundable through your KHZG-Antrag.

How CodeB is deployed

Ward roaming workstations

NFC tap to log in. Card removal is policy-configurable — do nothing, lock the workstation, or sign the user off. Sessions follow the clinician across the ward via standard Windows roaming profiles or VDI.

NFC Active Directory Roaming profiles

Hospital PKI logon

Existing hospital-issued PKI cards reused as X.509 logon tokens — no separate issuance and no parallel credential store. Per-user attribution on every record access.

X.509 PKI Hospital-issued cards Per-user attribution

Pharmacy and lab terminals

USB-token logon for shop-floor-style lab benches where NFC readers are impractical, with per-user attribution on every dispensing or analyser action.

USB token Per-user attribution
Featured case study

Automatic logon to T2Med (Java clinic software).

T2Med is the Java-based clinic software in widespread use across primary-care practices. With CodeB, the clinician taps an NFC card once and lands inside T2Med, already signed in — no Windows password, no T2Med password, no TOTP code typed by hand.

How it works

The CodeB Credential Provider secures the Windows logon with a second factor — NFC card or TOTP — and at the same time enables passwordless logon. An authorised NFC card or TOTP code fully replaces the username-and-password step. Hold a registered card to the reader and the Windows session opens.

The bundled Web SSO engine extends the same authentication into web apps, classic Windows apps and Java-based desktop applications. It detects the application's login window, fills the right credentials, and — if a TOTP code is required — calculates and enters it. T2Med is the reference example: in the CodeB Web SSO manager you assign one or more NFC cards to a T2Med account, and T2Med is signed in only while an assigned card is on the reader.

If the card is already on the reader when T2Med opens, sign-in happens at once; if T2Med opens first, it signs in the moment the card is tapped. One T2Med entry can hold several accounts, each with its own card — the card on the reader decides which clinician is signed in, and a card that belongs to none of them falls back to the account with no card assigned.

Five-step setup

  1. Download CodeB. Get codeb_tray.zip from our download site.
  2. Install the Credential Provider and start the tray helper. Run CredentialProviderInstaller.exe from the zip, click Install Credential Provider, then start codeb_tray.exe — the process that injects credentials into T2Med at runtime.
  3. Add a domain for T2Med. Open the CodeB Web SSO manager (titled Web SSO User Manager), click + Add Domain, enter t2med and click Done. The built-in T2Med profile and a t2user demo account are created (demo server demo.t2med.com, user t2user, no password) — replace it with your own credentials or add more users as needed.
  4. Assign the clinician's card. Select the account and tap the user's NFC card on the reader while the manager is open; the card number fills in automatically. Several cards on one account? Enter them comma-separated.
  5. Optional — log off when the card is removed. Tick Log off when the card is removed on the T2Med entry, then click Save.
Hands-free sign-out

Log off when the card is removed

Tick one box on the T2Med entry and CodeB signs the clinician out of T2Med the moment they lift their card off the reader — it sends T2Med's own log-off shortcut, Ctrl + Shift + Q. A roughly three-second grace period means a quick tap, or a card that slips, never logs anyone off. No shared workstation is left standing open on a patient record when the clinician walks away.

  • Grace period. The log-off waits about 3 seconds after the card is removed (the card is polled once a second, so 3–4 seconds in practice); put the card back within that window and nothing happens. The wait is its own setting — HKLM\SOFTWARE\WOW6432Node\CodeB\Config\LogoffDelaySec (seconds, 0–3600, default 3), separate from the Windows card-removal delay — and an application profile can set its own.
  • Card logons only. A session that was filled in without a card is never logged off by removing a card.
  • It reaches T2Med safely. If the clinician is in another window, T2Med is brought to the front just long enough for the shortcut to land. If Windows refuses to bring it forward, CodeB sends nothing — it never types into another program — and gives up after a few tries. If T2Med already shows its login screen, nothing is sent.
  • Off by default. Existing installations behave exactly as before until the box is ticked; the T2Med profile upgrades itself automatically and keeps any fields an administrator changed.
  • Not only T2Med. Any application with its own log-off shortcut works — put the key combination in that application's login profile (LogoffKeys, Windows SendKeys notation: ^ Ctrl, + Shift, % Alt) and tick the same box.

Result: the clinician taps to land inside T2Med already signed in, and lifts the card to sign straight back out — no Windows password, no T2Med password, no TOTP code typed by hand.

Several clinic workstations? CodeB can sync the same cards and Web SSO logins across every computer.

What's hard here

OT environments tolerate very little disruption. Updating Windows is a quarterly event, not a Tuesday. Operators wear gloves; touchscreens are clumsy; cards get lost. Yet NIS2 and customer audits now demand individual attribution of every action that touches the MES.

How CodeB is deployed

MES operator stations

Hardened USB-token logon at line-side terminals. Tokens are sealed inside operator wristbands; a missing token automatically locks the station.

USB token Auto-lock NIS2

Engineering and CAD workstations

PKI smartcard logon for engineering workstations, with the same identity attribution applied to off-site contractors as to in-house engineers.

X.509 PKI Engineering workstations Contractor access

Quality and changeover booths

Tap-and-go NFC for fast shift handovers, with TOTP as a second factor where the supervisor approval flow requires one.

NFC TOTP Step-up MFA

What's hard here

OEM machine controllers are built on whatever Windows version was current when the machine left the factory — and they stay in service for ten to twenty years, often on networks with no internet at all. The HMI typically has two user populations: the shift operator who runs the machine, and the service engineer who reconfigures it. Both need attributable logon, and increasingly under NIS2 because the host industry (food, pharma, energy, water, manufacturing of essential goods) is in scope.

How CodeB is deployed

Operator logon at the HMI

NFC tap from the operator's company card unlocks the machine HMI; the card stays with the operator for the shift. Card removal can be configured to do nothing, lock the screen or sign the operator off, depending on machine-safety policy.

NFC HMI Operator role

Service-engineer access

X.509 PKI smartcard logon for the OEM service engineer who configures the machine, separates "operate" from "configure" privileges, and produces a tamper-evident audit entry that links the service action to a named engineer.

X.509 PKI Service-mode Audit trail

OEM bundle for machine builders

OEMs can pre-install CodeB on the embedded controller image, so the customer receives a NIS2-ready machine out of the box. Licensing terms accommodate the long service life — perpetual licences keep working on the version they were issued for, no annual renewal pressure on a 15-year machine.

OEM bundle Perpetual licence Air-gap deployable

What's hard here

Office environments are heterogeneous: laptops on the road, desktops on-prem, Azure Virtual Desktop for contractors. Auditors expect cryptographically attributable logon — but most environments still rely on a password and a SMS code, both phishable.

How CodeB is deployed

Hybrid laptop deployments

Entra-joined laptops with PKI smartcards in the secure element; a TOTP app as a backup when the card is forgotten at home.

Entra ID PKI TOTP

Reception kiosks and meeting-room screens

NFC tap from a visitor pass or staff card to release the kiosk session, with per-user attribution recorded against every visitor or staff entry.

NFC Visitor management

Doesn't quite fit one of these?

The product line is built on standards — Windows credential providers, X.509, OIDC, ICAO 9303. If your environment runs Windows, CodeB very likely already has a deployment pattern for it.