Skip to content

Blog

NIS2 Article 21 checklist for web apps

By Bohuslav PoláčekPublished

Article 21(2) of Directive (EU) 2022/2555 in its own words, the checks it leads to in one web app, and what Meadowstack 2.1 contributes today.

Who this is for

NIS2, Directive (EU) 2022/2555, obliges organisations, not software. Its Article 21(1) asks essential and important entities for "appropriate and proportionate technical, operational and organisational measures", and Article 21(2) lists what those measures include at least. Each Member State writes the directive into its own law, and that law is what applies to you: in Czechia it is the Cybersecurity Act, 264/2025 Sb., in force since 1 November 2025 (the Czech version of this checklist cites it).

So the checklist does not tell you whether you are in scope. It is for the person who already knows the organisation is, or works for a client that is, and now has to show what one internal web app does about each measure: the orders app, the approvals tool, the record system that grew out of a spreadsheet.

This is not legal advice. The regime that applies to your organisation, and the duties that follow from it, come from your national law and its decrees. Have a lawyer confirm them before you rely on any table here.

How to use it

Take one app at a time. For each row of the table above:

  1. Write who owns the check: a name, not a team.
  2. Run the check on the app as it is in production, not on the plan.
  3. Keep the evidence in one folder per app, with the date of the run.
  4. Note what is missing and the date it will be fixed.

Point (f) asks for "policies and procedures to assess the effectiveness" of the measures. In practice that means doing this again on a schedule and keeping the dated results, so the second run is the evidence that the first one was not a one-off.

Five of the ten points, (a), (c), (f), (g) and most of (d), are processes the app cannot carry. The other five reach into its code and its configuration, and those are the ones a designer or a builder can move this week.

The checks that reach into the app

Access control, point (i)

Write the roles down, with what each may read and change. Then test the rules where they hold: sign in as the lowest role and call the api directly for a record of another company, or for an action the screen hides. A hidden button is not a rule; the server's refusal is. The permissions checklist gives a test for each case, and row level security is how the database enforces the same rules.

Leavers are where access control usually fails in an internal app: a shared admin account, a contractor still in the identity provider. Set a deadline for removing access and check the last few leavers against it.

Multi-factor authentication, point (j)

The directive says "where appropriate". Start with every account that can change roles or export data. The check: try to sign in as an admin with the right password and no second factor, and expect a refusal. Multi-factor authentication lives in the identity provider (Microsoft Entra ID, Google Workspace, a hosted auth service); the app's job is to use that provider for every sign-in, with no local password login left beside it.

Incident handling, point (b)

When something happens, the first question is who did what and when. Check that the app records sign-ins, permission changes, exports and deletions, and that an error a person sees carries an id you can find in the log. Then check the clock: Article 23(4) asks for an early warning within 24 hours of becoming aware of a significant incident, a notification within 72 hours, and a final report within one month. Write down who sends each one.

Supply chain and development, points (d) and (e)

List every host, data processor and external service the app talks to. Commit the lockfile, install with npm ci, run npm audit before each release and read what it says. Publish an address for vulnerability reports and decide how fast a reported problem gets fixed. Article 21(3) adds that you weigh each direct supplier's "secure development procedures": if a studio or a coding tool builds the app, that includes how they do it.

Cryptography, point (h)

HTTPS only, with HSTS, and no home-made encryption: passwords, tokens and signatures belong to the identity provider and the platform. Ask the database host whether data is encrypted at rest and keep its answer.

What Meadowstack does today, and what 3.0 adds

Meadowstack is a framework for internal business apps: a kit of components, screen types, a starter app and rules for coding tools. In 2.1 it carries the parts of these measures that live in the interface:

  • permissions in one table per module, asked through can(), with actions a person cannot take hidden and NoAccess for a page they cannot open;
  • four-eyes on approvals (nobody approves their own record) and a reason for every rejection;
  • a history entry for every state change, shown by AuditTimeline;
  • written rules for secrets, headers, uploads, dependencies and coding agents in docs/security.md.

What 2.1 does not do: the starter's sign-in is a development stub, so multi-factor authentication, sessions, security headers and enforcing the rules on the server are yours. The framework cannot run a backup, train your staff or send the 24-hour warning.

Meadowstack 3.0, which arrives as an update to every licence, moves several of those into the starter: permissions in one policy file where a missing rule fails the build, input checked on the server, sign-in, an audit trail and strict headers. Until it ships, treat those as yours. The security page lists both, and neither version makes an organisation compliant on its own.

A prompt for your coding tool

To start the evidence folder, ask the coding tool that knows the code to inventory it. It should report what it finds and say "not found" rather than guess:

text
Go through this repository and write NIS2-EVIDENCE.md with one section per
NIS2 Article 21(2) point (a) to (j). In each section list only what exists in
the code or configuration, with the file path:
- (i) every role and where its permissions are enforced: interface, api, database
- (j) how sign-in works and whether a second factor can be required
- (b) what is logged for sign-ins, permission changes, exports and deletions
- (d) the lockfile, dependency audit and every external service called
- (e) the checks that run before a release
- (h) security headers and anything that encrypts or hashes
Write "not found" where nothing exists. Do not suggest fixes yet and do not
claim the app is compliant.

Read the file it writes against the table above. The "not found" lines are your list of work.

In Czechia

The Czech act, 264/2025 Sb., splits obliged providers into a higher and a lower obligation regime (§ 8) and sets the measures by decree: 409/2025 Sb. for the higher regime and 410/2025 Sb. for the lower one, both in force since 1 November 2025. Both decrees require an authentication mechanism based on multi-factor authentication with at least two different types of factors (409/2025 § 19(2), 410/2025 § 8(2)), and the act sets the reporting clock in § 16: an initial report within 24 hours of detecting an incident, an update within 72 hours and a final report within 30 days. The Czech version of this checklist walks through them for a Czech reader.

Questions

Does NIS2 apply to an internal web app?

NIS2 applies to organisations, not apps. If your organisation is an essential or important entity, its measures cover the network and information systems it uses, and an internal app holding orders, people or money is one of them.

Can a framework or a hosting provider make my app NIS2 compliant?

No. The duties fall on the organisation and half of them are processes. Software can supply technical measures and the evidence for them; the risk analysis, the policies, training and reporting stay with you.

What are the NIS2 incident reporting deadlines?

Under Article 23(4): an early warning within 24 hours of becoming aware of a significant incident, an incident notification within 72 hours, and a final report no later than one month after the notification. Your national law may set the details.

Does every account need multi-factor authentication?

The directive says where appropriate; your national law and its decrees may say more, as the Czech decrees do. Start with every account that can change roles or export data, and ask your lawyer what your regime requires.

Is this checklist legal advice?

No. It turns the directive's measures into technical checks on one app. Which regime applies to your organisation and what follows from it is for a lawyer to confirm.

Two ways

Build it yourself, or have it built

  • Build it yourself

    Build your app on the framework

    Get the codebase these apps stand on and build yours with Claude Code, Cursor or Codex.

    One payment, lifetime updates

    Get the framework
  • Have it built

    Have us build your app

    Tell us how your team works. We plan the app with you and build it on the same framework at a fixed price.

    After launch, Care keeps it improving, from €99 a month.

    from €1,990

    Describe your app