Where the servers of a web app are, how data is kept in a database, how to log in safely and how to protect a construction company against criminals, data loss and mistakes with personal data.
TimeOne day: about 4 hours of reading and 2 hours of assignments
You learnHow the cloud, databases, APIs, accounts, roles and security work, what the GDPR asks of a company and which questions a client's IT adviser asks.
You doYou set up a password manager and two-step verification for your own accounts, check your own backup and draw up an IT questionnaire for a fictional construction company.
AssessmentAfter each part a short check with the result straight away. At the end of the day the exam: multiple-choice questions and a few open questions, marked by an assessor. And the assignment of the day.
Level
Part 1 Servers, data centres and the cloud
About 60 minutes
1. Where we left off yesterday
Yesterday, on day 8, you learned how a computer works, the difference between a desktop app, a web app and a mobile app, how to organise files and how the internet works. You know that a web app runs on a server, that your browser sends requests to that server and that the server sends back responses. You also know that behind a web app there is a database that holds the data.
Today we go one step further. Where are those servers, actually? What do people mean by "the cloud"? How is data kept in a database, and how do programs talk to each other? How do you make sure that only the right people can log in, and that they only see what they are allowed to see? How do you protect a company against fake emails, ransomware and data loss? And what does the privacy law say about the data of employees and clients? By the end of the day you will know which questions a client's IT adviser is going to ask you, and how to answer them honestly.
This lesson is long, because there are many topics. They are all connected, though. The cloud is where the data is kept. Accounts decide who can get to it. Security makes sure the wrong people cannot get to it and that nothing gets lost. And the GDPR (in Dutch: AVG) says what you may do with data about people. Take breaks between the parts.
Figure 1. The five parts of today. They are all about the same thing: the construction company's data. Where is it, how is it kept, who can get to it, how do you protect it and what may you do with it.
2. The server cupboard at the office
Many medium-sized construction companies still have their own server room. Often that is no more than a cupboard in the meter cupboard or a small room next to the archive, with a few servers, a backup disk, a router and a tangle of cables. That is where the project folders are, sometimes an accounting program and the licence server of a drawing package. An IT partner comes by now and then for maintenance.
That works, but it is vulnerable. If the air conditioning fails on a hot summer day, the servers overheat. If there is a break-in, they can be taken. If there is a fire in the building, the servers and the backup disk next to them are both gone. If the power fails, everything stops. And if the only IT person is ill or on holiday, nobody knows what to do. On top of that, the hardware has to be replaced every five to seven years, and that is a sizeable investment. That is why more and more companies are moving their servers to a data centre.
Figure 2. The server cupboard at the office and six things that can go wrong. Pay particular attention to number 3: in a fire, the server and the backup disk next to it are both gone.
3. What a data centre is
A data centre is a building made especially for servers. There are thousands of them, in rows of cabinets called racks. Figure 3 shows what else is in such a building.
Figure 3. Cross-section of a data centre. Besides the racks of servers, the building has backup power with batteries and generators, heavy cooling, several fibre lines to the internet, gas fire suppression and strict security. The orange servers in the middle could belong to one client; the rest belong to others.
A data centre has a heavy-duty power supply. If mains power fails, batteries take over within a fraction of a second, and then diesel generators start that can run for days. Servers produce a lot of heat, so there is powerful cooling, often duplicated. There are several fibre connections to the internet, from different providers and along different routes, so that an excavator that hits one cable does not bring everything down. A fire is not put out with water, because that would destroy the servers, but with a gas that smothers the fire. And security is strict: passes, cameras, guards and often airlocks that only one person can go through at a time.
A construction company can never arrange this kind of facility as well itself. A large data centre has its own team on standby day and night, and spreads the costs over thousands of clients. That is also the core of what "the cloud" is.
4. The cloud in one sentence
"The cloud" sounds vague, as if your data were floating somewhere in the sky. It is actually very simple: you use someone else's computers, over the internet. Those computers are in a data centre. You pay for what you use, per month or per user, and you do not have to buy or maintain any hardware yourself. Large providers of cloud infrastructure are, for example, AWS (Amazon Web Services), Microsoft and Google. They build and run the data centres and rent out computing power, storage and networking to other companies.
Figure 4. The cloud in one picture. The construction company only has laptops and an internet connection. The computers that do the work are in a cloud provider's data centre, and the company pays each month for what it uses.
The OpenAEC SuperCloud runs at AWS, in the data centre in Frankfurt. That is a deliberate choice: Frankfurt is in the European Union, close to the Netherlands, so the delay you learned about yesterday stays small. Why the location of the servers matters is covered later in this part.
5. On-premise, hosting and SaaS
There are different ways to use servers and software. The difference comes down to one question: who manages what? Figure 5 shows this as a stack of layers, from the building at the bottom to the data and users at the top.
Figure 5. Who manages what? With on-premise you arrange everything yourself, from the building to the data. With hosting you rent the server and the building, but manage the software yourself. With SaaS the supplier arranges everything except your own data and users.
On-premise means "on your own premises". The servers are in the company's own building, and the company manages everything itself or has an IT partner do it. That is the server cupboard from section 2. You have full control, but also all the worries: power, cooling, hardware that breaks, updates and backups. Some companies choose this deliberately, for example because a client demands it or because they want to keep everything in their own hands.
With hosting you rent a server, or part of one, from a hosting company. The building, the power, the cooling and the hardware are their concern. You manage the operating system, the programs and the data yourself. It is an in-between form, often chosen by companies with their own IT partner who does the management. A rented server in a data centre is in effect a server cupboard that stands in a safer place.
With SaaS, Software as a Service, you use software as a service. You log in and work. The supplier takes care of the servers, the updates, the backups and the security of the software. All you arrange is your own data and who has access. Most modern business software is delivered this way: online office software, online accounting and also the OpenAEC SuperCloud. For a construction company without its own IT department, SaaS is often the wisest choice, because the company can then focus on building instead of on servers.
Figure 6. On-premise, hosting and SaaS as a site cabin. The further to the right, the less you have to arrange yourself. With SaaS you only arrange who is allowed in; the paragraph below explains the comparison.
A comparison from construction helps to explain it. On-premise is buying your own site cabin, putting it in place, connecting it and maintaining it. Hosting is renting a cabin that the hire company puts in place and connects, but that you furnish and keep clean yourself. SaaS is renting a furnished meeting room in a business centre: you walk in, sit down and work, and you do not have to worry about the rest.
6. Shared responsibility
Even with SaaS there is still work left for the client. This is called the model of shared responsibility: each party is responsible for its own part of the security. Figure 7 shows how that is divided for the SuperCloud.
Figure 7. Who takes care of what in the SuperCloud? The data centre takes care of the building and the machines. OpenAEC Studio BV takes care of the software and the service. The client takes care of the use: who gets in, with which rights, and what is shared.
AWS takes care of the physical security of the data centre, the power and cooling, the hardware and the network. OpenAEC Studio BV takes care of everything to do with the software and the service: the separation between clients, a separate encryption key per client, the updates, the backups and testing them, monitoring and the login service. The client decides who has access, with which role, whether two-step verification is mandatory and what is shared with whom, and keeps its own computers, phones and browsers up to date.
That last point is important to stress. A client sometimes thinks: "it is in the cloud, so it is safe". But the best data centre security does not help if an employee enters his password on a fake site, or if someone who has left can still log in for months. Explain to the client which part of the security lies with them. On day 19 you will set up that part together with a client.
Figure 8. The Security and privacy page of the SuperCloud (in Dutch). At the top, three key facts: the Frankfurt region in the EU, the data centre's certifications and one key per client. Below that, six cards with the most important commitments. This is the page you send a critical client in advance. Source: open-aec.com
7. Shared infrastructure, dedicated servers or on-premise
The SuperCloud comes in three variants, shown in figure 9. They show that the choice between the cloud and managing things yourself is not black and white.
Figure 9. The three hosting variants of the SuperCloud. With shared infrastructure the client shares servers with other clients, but has its own database, storage and key. Larger companies can get dedicated servers and their own network segment. On-premise runs the same software in the client's own server room.
With shared infrastructure several clients run on the same servers. That sounds scary, but it is quite normal: almost all SaaS works this way. What matters is that the data is strictly separated. Every client environment in the SuperCloud has its own database with its own database user, its own storage and its own encryption key. So a client can never get to someone else's data. Compare it with a block of flats: you share the building, the lift and the foundations, but every flat has its own front door with its own key.
Figure 10. The three hosting variants as ways of living. On the left the block of flats: shared building, own front door. In the middle a detached building on a shared business park. On the right your own house on your own land: on-premise.
With dedicated servers and network a larger company gets its own set of servers for the applications, its own database and its own shielded part of the network. That is like a detached building on a shared business park. With on-premise the same software runs in the client's own server room. Because all OpenAEC software is open source, that is possible. Switching from one variant to another later is also possible, with a full export of the data.
8. Why EU hosting matters
Where are the servers, and which law applies there? You hear that question more and more often. Data that is stored and processed in the European Union falls under European rules, such as the GDPR, the privacy law that part 5 is about. Servers outside the EU are subject to other rules, and a foreign government can, in some circumstances, demand access to data. Clients are also asking about it more and more. Public authorities, housing associations and network operators set requirements in tenders about where data is kept, especially for projects on critical infrastructure such as bridges, locks and energy grids.
Figure 11. Where the SuperCloud's data is kept. All client data is in the Frankfurt region, the backups encrypted in a second EU region. Both fall inside the dotted line of the EU, where European rules apply.
In the SuperCloud, all client data is processed and stored in the AWS Frankfurt region. A region is a group of data centres in one area. Backups are kept encrypted in a second region, also in the EU. Every subscription comes with a data processing agreement; you will learn what that is in part 5.
As a consultant you must be able to explain this honestly and precisely. A critical client may ask: "But AWS is an American company, isn't it?" That is right. The honest answer is: the data is in the EU, every client has its own key with which its data is encrypted, and anyone who wants everything fully under their own control can run the same software on-premise. Never exaggerate, and never promise anything you cannot deliver. A client who notices that you made something sound better than it is will not trust you on anything afterwards.
In depth
Availability in minutes
How often may a service be unreachable? That is expressed as availability, a percentage per month. 99.9 per cent sounds almost perfect, but in a month of thirty days 0.1 per cent is about 43 minutes. At 99.5 per cent it is almost four hours a month, and at 99.95 per cent about 22 minutes.
Figure 12. Availability in minutes. A small difference in the percentage is a big difference in time: at 99.5 per cent the service may be unreachable for over three hours a month, at 99.95 per cent about twenty minutes.
The SuperCloud has three service levels: Basic (Basis) with 99.5 per cent as a target, Business (Zakelijk) with 99.9 per cent guaranteed and Premium with 99.95 per cent guaranteed. If the service misses a guarantee, the client gets a discount on the monthly fee. Planned maintenance that has been announced well in advance does not count. Explain to a client what those percentages mean in minutes. A construction company that sends out all its invoices on Friday afternoon has different needs from a practice that mainly produces drawings. And do not forget the other side: your own server cupboard goes down now and then too, it is just that nobody keeps track of how often.
Expert
Containers: prefab for software
Software on a server often needs many components: a specific version of a programming language, libraries, settings. In the past an administrator installed all of that by hand, and then it worked on one server but not on another. Containers solve that. A container is a sealed package with a program and everything it needs. The blueprint for such a package is called an image. Docker is the best-known tool for building and running containers.
Figure 13. Containers as prefab. A factory-made bathroom pod fits on every building site in the same way. In the same way, a container built from one image runs in Frankfurt, on dedicated servers or on-premise.
Compare it with prefab in construction. Instead of building everything loose on site, you make a complete bathroom pod in the factory, which you place on every site in the same way. That is how the same parts of the SuperCloud can run in Frankfurt, on dedicated servers or on-premise at the client. With modern cloud services the servers themselves are also described in text files, so that a new environment is built automatically and always in the same way. That is called infrastructure as code. Look up what "docker compose" is and read how you start several containers at once with a single file.
Check: part 1
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Part 2 Databases and APIs
About 45 minutes
1. What a database is
Everyone knows a spreadsheet: a sheet with rows and columns. A database looks similar, but is made to keep large amounts of data reliably while many people and programs work with it at the same time. Almost every web app has a database behind it. In an ERP system it holds the clients, projects, quotations, orders, hours, invoices and bookings. In a time registration system the employees, projects and hours. In the SuperCloud workspace the tasks, documents and settings.
Why not just use a spreadsheet? Because a spreadsheet is not made for many users at once. If two people open the same sheet and both save it, the last one wins and the first one's work is gone. A spreadsheet also does not check whether what you enter is correct: you can simply type "next week" in a column of dates. A database does check that, keeps every change carefully and lets hundreds of users work at the same time without overwriting each other's work.
Figure 14. Spreadsheet or database. On the left, what goes wrong when many people work in one sheet. On the right, what a database offers instead: working at the same time, checking input and keeping every change.
2. Tables, records and fields
A database consists of tables. Each table is about one kind of thing: projects, employees, hours, items, invoices. A table has columns, also called fields: project number, name, place, client, start date. And it has rows, also called records: each record is one project. Figure 15 shows two tables that together form a simple time registration.
Figure 15. A database table. The Projects table (Projecten) has five fields (columns) and four records (rows). The project number is the key: unique for every project. The Hours table (Uren) only stores the project number and so refers to the right project. The projects and names are made up.
Every record has a key: a value that is unique, such as the project number. With it you can always find a record again, even if the name changes. Other tables use that key to refer to it. In the figure you can see that an hours line does not store the project's name and place, only the project number. The name is stored only once, in the Projects table. If the project's name changes, you change it in one place and it is correct everywhere. That principle is called a single source for every piece of data, and it is one of the most important ideas in good software.
Figure 16. A record in a real web app: one customer in ERPNext. Each input box is a field, and the whole form is one record in the customers table. Fields with an asterisk are mandatory; the database refuses the record without them. The data is demo data. Source: ERPNext documentation (docs.frappe.io)
3. Why this matters for a consultant
Many problems at clients revolve around duplicate or sloppy data. The same client is in the system three times, as "Gemeente Breda", "gem. Breda" and "Breda, gemeente" (all meaning the municipality of Breda). A supplier has two bank account numbers and nobody knows which one is right. A project has no fixed number, or the quotation number differs from the job number. Mistakes like these look small, but they make reports wrong, send invoices to the wrong address and cause employees to stop trusting the system.
Figure 17. Cleaning up during a migration. The same client is in the old system three times, each with its own number and spelling. Before the transfer they are merged into one record, so that reports and invoices are correct again.
During an implementation you therefore make sure every kind of data has a single source. Transferring old data to a new system is called a migration. In a migration you first clean up the data: merge duplicates, make spellings consistent, fill in missing numbers. It is dull work, but it decides whether the client will trust the new system. Yesterday you learned that data is often transferred as CSV; now you know that every line in such a CSV becomes a record in a table.
In ERPNext, the ERP system you will get to know on day 14, a kind of data is called a DocType. Customer, Project, Quotation and Invoice are all DocTypes, and behind the scenes each DocType is a table in the database. For now, remember: when you fill in and save a form in a web app, you are actually creating a record in a table. On day 18 you will transfer data to ERPNext yourself.
4. What an API is
Programs need to talk to each other. The time app on the building site has to pass hours to the ERP system. The drawing program has to send a bill of materials to the cost estimate. The bank has to pass payments to the accounts. That talking happens through an API, an Application Programming Interface. In plain language: an agreed way in which one program can ask another program for something.
The best comparison is a counter. At the town hall you do not walk into the archive yourself. You go to the counter, ask a question in a fixed form, for example with a form, and the clerk behind the counter looks it up for you. He also checks whether you are allowed to know. An API works the same way: a program asks a question in an agreed form, and the other program answers. The asking program never gets into the database itself.
Figure 18. An API as a counter. The time app asks: "book 8 hours on project P-24044 for Bas". The counter uses the key to check who is asking and whether that is allowed, books the hours in the ERP and answers. The time app itself never gets into the database.
An API has three important properties. First, the questions are fixed: there is documentation that says which questions you may ask and in which form. Second, the asking program must identify itself, usually with an API key or a token. An API key is a kind of password for a program, and must be kept just as secret as a password. Third, the API checks the rights: an integration that may only book hours cannot change invoices.
Most APIs on the internet work with the same requests and responses as a website, which you learned about yesterday, with the same status codes. The difference is that the response is not a page for people, but data for a program. Usually that data is in the JSON format: a text format that looks like this: {"project": "P-24044", "employee": "Bas", "hours": 8}. People can read it, and so can programs.
5. Integrations
When two programs are connected through an API, that is called an integration or link. There are many of them in construction. The ERP system is linked to the bank, so that payments come in automatically. The accounts are linked to the accountant's package. Purchasing is linked to the wholesaler, so that prices and orders go automatically. The time registration is linked to the payroll.
Integrations are valuable, because they prevent retyping. Every time someone retypes data, mistakes can creep in, and it takes time. But integrations are also fragile. If one program changes, the integration can break. If the API key expires, it stops. And if nobody knows the integration exists, nobody notices that it is broken either, until a week later not a single payment has been processed. At an intake you therefore ask: which integrations are there now? Who built them? Who maintains them? And what happens if they do not work for a day?
At OpenAEC the starting point is that its own apps do not need to be linked to each other one by one, because they read and write the same open model: IFCX. Other programs are linked to that model. You explain this to a client as: "you enter data once, and all apps see it".
Tip Make a simple integration map for every client: a drawing with all programs as boxes and the integrations as arrows. Next to each arrow, note which data goes across it, how often, and who the owner is. That map is worth its weight in gold during a migration, and the client's IT adviser will be glad of it.
Figure 19. An example of an integration map, as in the tip above. Every program is a box, every integration an arrow. Each box shows which data goes across, how often, and who the owner is.
In depth
Reading an API request
An API request consists of a few parts. The method says what you want: GET to fetch something, POST to create something new, PUT or PATCH to change something, DELETE to remove something. The address says what it is about, for example /api/resource/Project/P-24044. The headers contain, among other things, the key or token. And with POST or PUT there is a body with the data, in JSON.
Figure 20. An API request taken apart. On the left the request to book 8 hours, with method, address, key and data. On the right the response: 201 if it worked, or one of the error codes you often see with a broken integration.
The response has a status code and usually a body in JSON. Besides the codes you learned yesterday, with APIs you often see 201 (created) and 400 (the request is wrong, for example because a mandatory field is missing). When an integration at a client does not work, the status code is often half the solution. A 401 means the key has expired or is wrong. A 403 means the integration does not have enough rights. A 400 means the other program is sending something that is not right.
Figure 21. This is what the documentation of a real API looks like: the REST API page of the Frappe Framework, on which ERPNext is built. You can read that every kind of data automatically gets an API, and how an integration identifies itself with an API key and a secret in the header. It also says that you keep that secret in a password manager. Source: docs.frappe.io
Check: part 2
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Part 3 Accounts, logging in and rights
About 60 minutes
1. Who are you, and what are you allowed to do?
An account is your access to a system. It consists of an identity, usually your email address or user name, and a way to prove that it really is you. Every account raises two questions. The first question is: who are you? Proving that is called authentication. The second question is: what are you allowed to do? That is called authorisation. On a building site the difference is easy to see. The gatekeeper checks your pass: that is authentication. Then your pass decides which cabin and which floor you may enter: that is authorisation.
Figure 22. Two questions for every account. First you prove who you are: authentication. Then the system decides what you may do: authorisation. Below each panel is what happens if it is arranged weakly or sloppily.
Both questions matter, and they go wrong in different ways. If authentication is weak, a criminal can pretend to be an employee. If authorisation is sloppy, an employee can get to data he has no need to see, and a criminal who has taken over one account can immediately get to everything. In this part you learn how to arrange both properly.
2. Passwords and their problems
The oldest form of authentication is a password. Passwords have three big problems. People choose easy passwords, such as the company name with a year and an exclamation mark. People use the same password in many places: if it leaks from one website, criminals automatically try it on hundreds of other sites. And people write passwords on a note under the keyboard, or in a spreadsheet on the network drive. At construction companies you also often see a shared account for the tablet in the site cabin, with the password on a sticker on the back.
Figure 23. Top: length beats odd characters. Bottom: why reuse is so dangerous. If a password leaks from one web shop, criminals automatically try it everywhere else you also use it.
A strong password is long and unique. Length matters more than odd characters. A phrase of four or five separate words, such as steiger-paraplu-kraan-maandag (Dutch for scaffold, umbrella, crane, Monday), is much stronger than Bouw2026!, and easier to remember too. But even then: nobody can remember dozens of unique, long passwords. That is what a password manager is for.
3. The password manager
A password manager is a program that keeps all your passwords encrypted, in a kind of digital vault. You only remember one strong password: the master password of the vault. For every website the manager creates a long, random and unique password, and fills it in automatically. You never have to see or type it yourself. Examples of open-source password managers are Bitwarden and KeePassXC. Browsers also have one built in, but a separate manager works in every browser and on your phone, and can share safely with colleagues.
Figure 24. The password manager. You remember one master password, the vault keeps the rest. On the right you can see the protection against fake sites: the manager fills in on the real address, not on a fake address.
A password manager also protects against fake websites. It only fills in the password on the address it was saved for. If a fake link takes you to an address such as open-aec.login-check.xyz, it fills in nothing. That is a sign that something is wrong. For businesses there are versions that let you share passwords safely with colleagues, for example for that one shared account on a supplier portal. That is much better than a spreadsheet, because you can decide per person who has access and withdraw the sharing again when someone leaves.
4. Two-step verification
Even a strong password can leak, for example in a break-in at a website where you have an account. That is why good systems ask for a second proof. This is called two-step verification, also known as 2FA or MFA (multi-factor authentication). The idea: you prove who you are with something you know, your password, and something you have, your phone or laptop. A criminal who only has your password then cannot get in.
Figure 25. Two-step verification. Besides your password (something you know) you use something you have: an authenticator app that makes a new code every 30 seconds, or a passkey on your phone or laptop. A stolen password alone is then not enough.
The most common form is an authenticator app on your phone. When setting it up, you scan a QR code on the screen with the app. After that the app makes a new six-digit code every 30 seconds. When you log in, you type that code after your password. The technique behind this is called TOTP, which stands for time-based one-time password: a password that is valid only once and only briefly. A code by text message also exists, but is less secure, because criminals can sometimes take over a phone number.
When setting it up you almost always get a few recovery codes. With those you can still get in if you have lost your phone. Keep those codes in a safe place, for example in your password manager or printed out in a drawer at home, and not in a file on your desktop.
5. Passkeys
Even better than a password with a code is a passkey. A passkey is a digital key stored on your phone or laptop. You unlock it with your fingerprint, your face or your device's PIN. There is no longer a password that someone can guess, steal or watch you type. And a passkey only works on the real website it was made for, so a fake site cannot capture it. Logging in with a passkey is also faster than typing a password and copying a code.
Figure 26. A passkey in three steps. You unlock it with your fingerprint, face or PIN. On the real site it works, on a fake site it does not, because the passkey belongs to exactly one address.
The SuperCloud supports both authenticator apps (TOTP) and passkeys, and a client's administrator can make two-step verification mandatory for everyone in the environment. As a consultant you advise clients to make two-step verification always mandatory. You will then hear objections such as "my site managers don't want the hassle" or "what if someone loses his phone?". Those objections are real, and you take them seriously. Explain that logging in with a passkey is actually faster than typing a password. And agree what happens with a lost phone: the administrator can have the second step set up again, after checking that it really is that employee, for example by calling him or speaking to him in person.
6. One account for everything: single sign-on
A construction company quickly uses ten or twenty programs. If each program has its own account, you end up with ten or twenty passwords per employee. And when someone leaves, somebody has to remember to block twenty accounts. Sooner or later that goes wrong: a former employee can still get into the project folders for months, or a former work planner can still see the purchase prices while he now works for a competitor.
Figure 27. Someone leaves the company. On the left the administrator has to block twelve separate accounts, and forgets three. On the right there is one account in the login service: one switch, and access is gone everywhere.
The solution is called single sign-on, or SSO: one account for everything. There is one central login service, in the jargon an identity provider. All apps trust that login service. When you open an app, it sends you to the login service. There you log in once, with two-step verification. The login service gives the app a proof of access, a token, which states who you are. The app lets you in. If you then open another app, you do not have to log in again.
Figure 28. Logging in with one account. Anna logs in once at the login service. Every app that trusts the login service gets a proof of access and lets her in. If her account is blocked, she cannot get in anywhere.
The agreement on how apps and the login service talk to each other is an open standard: OpenID Connect, often abbreviated to OIDC. In plain language: OpenID Connect is the agreed way in which an app asks the login service "who is this?" and gets a reliable answer. Because it is an open standard, it works between programs from different makers.
The SuperCloud has one central login service based on OpenID Connect. The client environments, the browser tools, the desktop apps and the APIs all trust this login service. Separate passwords on the client environments are switched off, except for one emergency administrator account. The tokens are valid only briefly and are renewed automatically. If an account is revoked, that person no longer gets new tokens. That is the great strength of SSO: block one account, and access is gone everywhere.
Figure 29. The same story on the SuperCloud security page (in Dutch). At the top, support access in four steps, which part 5 is about. Bottom left the login service: two-step verification can be enforced, short-lived tokens, and no new ones once an account is revoked. On the right the roles and rights. Source: open-aec.com
7. Roles and rights
Now the second question: what are you allowed to do? You arrange that with roles and rights. Instead of giving each person rights separately, you create roles: project manager, work planner, draughtsperson, site manager, administration, guest. Each role gets certain rights. A new employee gets a role, and with it has the right access straight away. If he moves to another job, you give him another role.
Figure 30. People get a role, and the role decides the access. The project manager manages project folders, the draughtsperson edits them, the administration works in the accounts, and a subcontractor as guest only sees the folder that has been shared with him.
Rights often have a few levels. Read means view only. Edit means create and change. Manage means that you can also create folders and decide who else has access. A handy way to map roles and rights at a client is a rights matrix: a table with the roles as rows and the parts of the system as columns. Figure 31 gives an example.
Figure 31. A rights matrix for a fictional construction company. Each row is a role, each column a part. The project manager manages the project folder and the planning, the administration manages the accounts, the draughtsperson cannot get to the purchase prices, and the subcontractor as guest only reads what has been shared with him.
Read the matrix row by row. Management may look at everything, but edits nothing itself: that prevents a director from accidentally moving a schedule. The project manager manages the project folder and the planning of his projects and may edit purchase prices, but cannot get into the accounts or the personnel files. The draughtsperson edits project folders and drawings, can view the planning, and sees no prices. The site manager may put photos and snagging items in the project folder and reads the drawings and the planning. The administration manages the accounts and the personnel files. And the subcontractor as guest only reads the drawings and the folder that have been shared with him. You draw up such a matrix at a client together with management and the project managers. It forces everyone to think about who really needs what. On day 19 you will set up a matrix like this in the SuperCloud.
Figure 32. Roles in a real web app: the roles tab of one user in ERPNext. Each role is a tick box. In this example from the documentation almost everything is on; at a real client you would, following least privilege, tick only the roles someone needs for his work. Source: ERPNext documentation (docs.frappe.io)
8. Least privilege
The most important principle behind roles and rights is called least privilege: everyone gets as few rights as are needed for their work, and no more. A draughtsperson does not need to see the accounts. A subcontractor only needs to see the folder for his own work, not the whole project folder with the purchase prices and the correspondence with the client. That protects against mistakes, such as someone accidentally deleting a folder, and against misuse, because a stolen account can do less damage if it has few rights.
Figure 33. This is how finely you can set rights. For one kind of document, here a leave application, and one role, the employee, you tick each action: read, write and create yes, delete and submit no. Source: ERPNext documentation (docs.frappe.io)
Three practical rules go with it. First: make sure there are at least two administrators at the client. If the only administrator is on holiday or leaves, the company is stuck. Second: work with roles, not with people. Anyone who arranges rights per person loses track after a year. Third: arrange joining and leaving as a fixed procedure. When someone joins, he gets an account with the right role on his first day. When someone leaves, his account is blocked on his last working day, and his files are handed over to a colleague. In the SuperCloud, roles and rights are managed per client environment, and guests only see what has been explicitly shared with them.
Figure 34. Joining and leaving as a fixed procedure. The orange step is the most important: on the last working day the account is blocked. At the bottom, the two rules that always apply.
Least privilege also applies to the supplier itself. Employees of OpenAEC Studio BV have no access to client data by default. How it works when support does need to look at something is shown in part 5.
In depth
Shared accounts and service accounts
In construction you see many shared accounts: one account "bouwplaats" (building site) for all site managers, or one account "tekenkamer" (drawing office). That seems handy, but it breaks three things. You no longer know who did what, because the log shows the same name every time. You cannot take away the access of someone who leaves without changing the password for everyone. And two-step verification works badly when five people need the same phone. Advice: give everyone their own account. In the SuperCloud that is also necessary for the log and the rights per role.
A service account is something else: an account for a program, for example for an integration. For that you use an API key with as few rights as needed. For every service account, note what it is for, who the owner is and when the key expires. Forgotten service accounts with too many rights are a favourite target of attackers, precisely because nobody pays attention to them.
Expert
What is inside a token
The tokens a login service issues are often JWTs (JSON Web Tokens). A JWT consists of three parts, separated by dots: a header, the payload and a signature. The payload is just JSON, containing among other things who you are, which app the token is meant for and until when it is valid. The signature is made with the login service's key. That way every app can check that the token is genuine and has not been altered, without calling the login service.
Figure 35. A token taken apart. The three parts are separated by dots. The middle part contains fields such as sub, aud and exp. The example is made up and shortened.
In the SuperCloud, desktop apps and browser tools use a method in which the app opens a browser window where you log in, after which the app gets a short-lived token. So the password never reaches the app itself. Look up which fields are always in a token, for example sub, aud and exp, and what they mean. Never paste a real token of your own or of a client into a website to decode it: a token is just as secret as a password.
Check: part 3
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Part 4 Security in practice
About 60 minutes
1. Phishing
Most break-ins at companies do not start with a clever hacker breaking through a firewall, but with an email. Phishing is a fake message that tries to tempt you into clicking a link, opening an attachment, entering a password or transferring money. The word comes from the English fishing: the criminal casts a line and waits for someone to bite. In construction one form is notorious: the fake invoice, or the message that a subcontractor or supplier has a "new bank account number".
Figure 36. A phishing email with five warning signs: a sender that is almost right, urgency, a new bank account number, an unexpected attachment and a link that goes to a different domain. The company and the addresses are made up.
Look at the signs in figure 36. The sender looks genuine, but the domain contains a capital I instead of a lower-case l. You can hardly see it. There is urgency: today, or the building site comes to a standstill. There is an exception to the normal routine: the director cannot be reached by phone, and suddenly there is a new bank account number. There is an unexpected attachment, a zip file. And the button in the email goes to a completely different domain. If you hover the mouse over a link without clicking, you can see at the bottom of the browser or mail program where the link really goes.
Criminals are getting better and better. They copy a company's house style, use the name of a real project they found on the website or on social media, and send their email at a moment when the director is on holiday. With AI they also write flawless Dutch. So you cannot count on everyone recognising every fake email.
2. The route of an attack, and where you stop it
A phishing attack usually goes through a few steps. The good news is that at every step you have a chance to stop it. Figure 37 shows those steps and the matching measures.
Figure 37. The route of a phishing attack. At the top the five steps of the attack, at the bottom the measure that can stop the attack at that point. The more layers that work, the smaller the chance that the attack succeeds.
In step 1 the criminal makes a fake email that appears to come from the director. A good mail filter stops many of those emails, especially if the client has recorded in its DNS which servers may send mail on behalf of its domain. Yesterday you learned that this is in a TXT record. With it, the recipient's mail filter can recognise and reject an email that pretends to be from the director but comes from another server. In step 2 the email lands in the inbox anyway. Then it is up to the employee to recognise it: urgency, an odd sender, an exception to the normal routine. In step 3 the employee clicks anyway. Then it is important that he reports it immediately, so that the IT partner can step in. In step 4 he lands on a fake login page that looks genuine. A password manager fills in nothing there, because the address is wrong. And in step 5 the criminal tries to log in with the captured password. With two-step verification, and certainly with a passkey, he cannot get in without the employee's phone.
The lesson for a client is therefore not "recognise every trick". The lesson is: make sure there are several layers, and make fixed agreements. A change of bank account number is always checked by calling back on a number you already knew, not on the number from the email. Payments above a certain amount are approved by two people. And anyone who has clicked anyway reports it immediately, without getting told off for it. An employee who dares to report is worth more than an employee who never makes a mistake, because the latter does not exist.
3. Ransomware
One of the biggest risks for construction companies is ransomware (in Dutch: gijzelsoftware). This is malicious software that encrypts all the files on a company's computers and servers, so that nobody can open them any more. Then the criminals demand a ransom for the key. Often they also threaten to publish stolen data. Ransomware usually gets in through a phishing email, a stolen password or a computer that has not been updated for a long time.
Figure 38. Ransomware in one picture. On the left the three usual ways in. In the middle the company's files, all locked. On the right the criminals' message: pay for the key, with the threat of publishing data.
For a construction company such an attack is disastrous. Drawings, schedules, purchase orders and the accounts are suddenly gone. The building sites no longer know what to do, and invoices cannot be sent. There are companies that suffered from this for weeks. Two things really help: making sure it does not get in, with the layers from figure 37 and with updates, and making sure you can restore everything if it does happen. For that you need a good backup.
4. Backups: the 3-2-1 rule
A backup is a spare copy of your data, in a different place from the original. You need it when something goes wrong: a disk breaks, someone accidentally deletes a project folder, there is a fire, or ransomware encrypts everything. A good backup is then the difference between an annoying week and bankruptcy.
Figure 39. The 3-2-1 rule. Keep three copies of your data, on two kinds of storage, one of which is off-site. And test regularly whether you can really restore something.
The best-known rule of thumb is 3-2-1. Keep three copies of your data: the original and two backups. Store them on two different kinds of storage, so that one kind of failure does not hit everything. And keep one off-site, at another location, so that a fire or break-in at the office does not destroy all the copies. These days many people add something: one copy must be unchangeable, or disconnected from the network, so that ransomware cannot get to it. A backup disk that is always attached to the server is, after all, often simply encrypted along with it in an attack.
Note the difference between synchronising and a backup. Yesterday you learned that cloud storage can keep a folder on your computer in step with the cloud. That is handy, but it is not a backup: if you delete a file locally, or it gets encrypted, the same happens in the cloud. A real backup also keeps older states, so that you can go back to yesterday or last week.
Figure 40. Synchronising is not a backup. With synchronising, every mistake goes straight along to the cloud. A backup keeps older states, so that you can go back to yesterday.
The most important part of a backup is restoring. A backup that has never been tested is a hope, not a certainty. So at a client, do not only ask "do you have a backup?", but also "when did you last restore something, and how long did it take?". Often there is a short silence. In the SuperCloud, backups are made automatically and periodically restored automatically to test whether they are usable. They are kept encrypted in a second EU region, with an extra copy in long-term storage. Even so, it remains a good habit for the client to make a full export now and then and keep it separately. Then it is never dependent on one party.
Figure 41. Backup and recovery on the SuperCloud security page (in Dutch). Top right it says that backups are periodically restored automatically to check whether they are usable. Bottom left you see the service levels from the in-depth section of part 1 again. Source: open-aec.com
5. Encryption
You already came across encryption yesterday with https. There are two situations. Encryption in transit protects data while it travels over the network: that is what TLS, the padlock, does. Encryption at rest protects data that is stored somewhere: on a disk, in a database, in a backup. Anyone who steals the disk without the key sees only unreadable characters.
Figure 42. Two kinds of encryption and one question. In transit the padlock protects, at rest the encryption of the disk or database protects. For both, the most important question is who has the key.
The most important question with encryption is: who has the key? In the SuperCloud every client has its own key with which its stored data is encrypted. When a client leaves, that key is destroyed after the retention period. That also makes all backups and old versions unreadable in one go. This is called crypto-shredding: instead of tracking down and wiping every copy, you throw away the key. Compare it with a safe whose only key you throw into a blast furnace.
Figure 43. Crypto-shredding. As long as the key exists, the database, the backups and the old versions are readable. If the key is destroyed, all copies become unreadable characters in one go, wherever they are.
The same idea applies to laptops. Switch on disk encryption; on Windows it is called BitLocker, on a Mac FileVault. If a site manager leaves his laptop in the car and it is stolen, the thief cannot get to the project data. Ask at an intake whether this has been arranged.
6. Updates
Software contains bugs, and some bugs are vulnerabilities: weak spots through which an attacker can get in. The makers fix them with updates. Anyone who postpones updates leaves the door open. Criminals know exactly which doors those are, because vulnerabilities are made public as soon as there is a fix, and from that moment on they automatically search for computers that do not have the update yet.
Figure 44. Why waiting with updates is dangerous. As soon as an update is public, criminals know where the weak spot was and automatically search for computers that do not have it yet. Below the timeline, what the client does about it.
With SaaS, the supplier takes care of updating the software on the server. But the client's computers, phones, browsers and desktop apps have to be updated by the client itself, or its IT partner. That is the client's part of the shared responsibility from figure 7. Advice to clients: switch on automatic updates on all devices, and replace devices that no longer get updates from the maker. An old PC in the site cabin that has not had an update for years is a risk to the whole network, even if it is "only" used to look at the planning.
Figure 45. The Nationaal Cyber Security Centrum (NCSC) is the Dutch government's centre for digital security. Its website includes advice for organisations that are starting out with cybersecurity. It is useful to refer a client to, because it is independent advice. Source: ncsc.nl
7. What to do in an incident
A security incident is anything that puts data or systems at risk: an employee has clicked a phishing link and entered his password, a laptop has been stolen, files suddenly become unreadable, or an email with personal data has been sent to the wrong person. The most important thing is that everyone at the client knows what to do. Figure 46 lists the steps.
Figure 46. Five steps in a security incident. Reporting always comes first, because every minute counts. Then you limit the damage, record what happened, assess whether personal data is involved, and put things right.
One: report it immediately, to the regular contact person or the IT partner. Do not wait until you know for sure whether it is serious. Two: limit the damage. Change the password, log the account out everywhere, and disconnect an infected computer from the network by pulling out the cable and switching off the wifi. Do not switch it off, because then traces are lost that are needed to understand what happened. Three: record what happened: when, who, which email, which files. Four: assess whether personal data is involved. If so, the client may have to report it to the supervisory authority within 72 hours, as you will learn in part 5. Five: recover and learn: restore data from the backup, and look at what you can improve so that it does not happen again.
Note As a consultant you are not the one who handles an incident. You do know the steps, you know whom the client should call, and you help the client stay calm. For every client, write down who the IT partner is and how to reach them, also outside office hours and at weekends.
In depth
Who may send mail on behalf of your domain?
An email has a sender, but anyone can fill in that sender, just like the return address on an envelope. That is why there are three agreements that are recorded in a domain's DNS. SPF is a list of servers that may send mail on behalf of the domain. DKIM is a digital signature under every email, with which the recipient can check that the email really comes from the domain and has not been changed on the way. DMARC says what the recipient should do with an email that does not pass SPF or DKIM: let it through, put it in the spam folder or reject it.
Figure 47. SPF, DKIM and DMARC side by side, each with a comparison from everyday life. All three are in the DNS of the client's domain.
Many construction companies have not arranged this, or only half. Then a criminal can very easily send emails that seem to come from the company's own domain, for example a fake email from the director to the administration. As a consultant you do not need to set it up yourself, but you can ask the client's IT partner whether SPF, DKIM and DMARC are set up correctly. There are free websites where you can check this for a domain name; try it with the domain of your own employer or school.
Expert
A recovery plan on one A4 page
Large companies have thick disaster plans. For a medium-sized construction company one A4 page is often enough, as long as it is ready before anything happens. Write such a page for a fictional construction company. At the top, put the phone numbers of the IT partner, the supplier of the most important software, the insurer and management. Below that, put the five steps from figure 46, in the company's own words.
Add two numbers that you agree with the client. The first is how long the company can do without its systems before it really hurts: an hour, a day, a week? The second is how much work the company may lose at most: the work of the last five minutes, of the last day, or of the last week? Those two numbers determine how often a backup must be made and how quickly restoring must go. In IT they are called RTO and RPO; look up what those abbreviations stand for.
Figure 48. The two numbers of the recovery plan on a timeline. The work between the last backup and the incident is lost. The time between the incident and working again is the downtime.
Check: part 4
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Part 5 Privacy, the GDPR and the IT adviser
About 45 minutes
1. Personal data
The GDPR, the General Data Protection Regulation, is the European privacy law. In Dutch it is called the AVG (Algemene verordening gegevensbescherming). The GDPR is about personal data: any data that says something about an identifiable person. That is broader than you might think. A name, address, phone number and email address, of course. But also a citizen service number (BSN, the Dutch personal ID number), a salary, a sick report, a photo in which a construction worker can be recognised, the location of a phone, or an hours line showing who worked where and when.
Figure 49. Personal data: everything that says something about an identifiable person. A photo of the building site and an hours line are included too. The sick report is orange, because data about health is special category personal data.
A construction company processes a lot of personal data. Of employees: personnel files, hours, sickness absence, certificates and diplomas. Of clients: private clients with their address and sometimes their financial situation. Of residents: when renovating a block of homes you have names, phone numbers and sometimes data about their health, such as "the lady at number 12 has trouble walking and needs help moving her furniture". Of subcontractors and self-employed workers. All of that data must be handled carefully.
At its core, the GDPR asks for a few things. Collect only what you really need. Use it only for the purpose you collected it for. Do not keep it longer than necessary. Secure it well. And be open towards the people it concerns: they have the right to know what you keep about them. Data about health and other sensitive matters is called special category personal data, and stricter rules apply to it.
2. Controller, processor and data processing agreement
The GDPR has a few fixed roles. Figure 50 lists them.
Figure 50. The roles in the GDPR. The data subjects are the people the data is about. The construction company is the controller and decides what happens to their data. OpenAEC Studio BV is the processor and processes the data on its behalf, under a data processing agreement. AWS is a sub-processor for the data centres in the EU. The controller reports a data breach to the Autoriteit Persoonsgegevens.
The data subjects are the people the data is about: employees, clients, residents. The controller decides why and how personal data is processed. That is the construction company itself: it decides which data about employees and clients it keeps and what for. The processor processes the data on behalf of the controller. That is, for example, the supplier of the software in which the data is kept. And a sub-processor is a party that the processor in turn brings in, such as a data centre.
OpenAEC Studio BV is a processor within the meaning of the GDPR. The client remains responsible for its own data. Between the two there must be a data processing agreement (in Dutch: verwerkersovereenkomst): a contract that states which data the processor processes, what for, how it is secured, what happens in a data breach and what happens to the data afterwards. Every SuperCloud subscription comes with such a data processing agreement, with the list of sub-processors, including AWS for the data centres in the EU.
A client may ask you: "Is your service GDPR-compliant?" An honest answer is nuanced. The service helps the client comply with the GDPR: the data is in the EU, it is encrypted with its own key, access can be arranged properly and there is a data processing agreement. But the client itself remains responsible for what it stores, who has access and how long it keeps data. No software makes a company GDPR-compliant by itself. Say so, too.
3. Data breaches
A data breach is a security incident in which personal data is lost or ends up with the wrong people. A stolen laptop without encryption with personnel data on it is a data breach. An email with a list of residents that accidentally goes to the wrong recipient is one too. And a ransomware attack in which criminals have taken the personnel records certainly is.
The controller must report a data breach within 72 hours to the Autoriteit Persoonsgegevens, the Dutch Data Protection Authority, unless the breach is unlikely to pose a risk to the data subjects. If the risk is high, the people concerned must be informed as well. Because the client has to meet that deadline, the processor must inform it quickly. For the SuperCloud it has been agreed that the client is informed without undue delay about what happened, how big it is and which measures have been taken, so that it can report within the deadline itself.
Figure 51. A data breach on a timeline. The 72 hours run from discovery. That is why the processor must inform the client as quickly as possible, so that the client can assess it and report in time.
4. Access by the supplier
A question almost every client asks: "Can you see into our data?" The answer must be clear. In the SuperCloud, employees of OpenAEC Studio BV have no access to client data by default. If support needs access to solve a problem, it goes in four steps, which you can see in figure 52.
Figure 52. Access for support. By default there is no access. Support requests it, the client's administrator grants permission for a limited time, every action goes into a log that the client can inspect, and the access expires automatically.
This is least privilege in practice: even the supplier only gets access when it is really needed, for a limited time, with the client's permission, and everything is recorded. You can explain it to a client with the key to a site cabin. The installer gets the key from the site manager when he needs to be inside, he signs for it, and at the end of the day the key goes back.
5. The client's IT adviser
At larger clients, an IT adviser joins the second or third meeting: an in-house IT person or someone from an external IT partner. That person is critical, and that is his job. He is responsible for the client's computers, network and security, and he does not want a new system to punch a hole in them. You do not need to know everything by heart, but you must understand the question and know where the answer is. The SuperCloud's Security and privacy page on open-aec.com answers most questions. Below are the questions you are almost certain to hear, with a short answer.
Figure 53. The eight questions you are almost certain to hear, with the short answer. The orange card is the pitfall: the certifications belong to the data centre, not to the software. The full answers are in the paragraphs below.
"Where is the data and where are the backups?" In the AWS Frankfurt region, with the backups encrypted in a second EU region. "How are clients separated from each other?" Each client has its own database, its own storage and its own key; larger clients can get dedicated servers and their own network segment. "Can we log in with our existing accounts?" There is one central login service based on OpenID Connect. If in doubt, find out what is possible for connecting to the client's existing accounts, and do not promise anything you are not sure of. "Can two-step verification be enforced?" Yes, per environment, with an authenticator app or with passkeys.
"Who at the supplier can get to our data?" By default nobody; only temporary access after permission from the administrator, with a log. "Which certifications are there?" The AWS data centres in Frankfurt have, among others, ISO 27001, SOC 2 and the German cloud standard C5. Note: those are certifications of the data centre, not of the software itself. Be precise about that, because an IT adviser will notice the difference. "What is the availability?" Depending on the service level: 99.5, 99.9 or 99.95 per cent. "How do we get out if we want to stop?" With a full export in open formats; after that the key is destroyed. "Can we inspect the source code?" Yes, all the software is open source.
The IT adviser also asks questions about the client's own side. Which browsers are supported? Does anything need to be installed on the workstations? Which addresses must be allowed in the firewall? How do the desktop apps handle updates? How does it fit with the existing email and DNS? Write down questions you cannot answer, say honestly that you will look into it, and get back to him within a few days. An IT adviser trusts you more if you say "I don't know, I'll find out" than if you guess. On day 17 you will learn how to prepare such an intake meeting.
Tip Make the client's IT adviser an ally. He will later have to prepare the workstations, adjust the DNS and perhaps build integrations. Invite him early, send him the security page in advance, and ask what he needs to be able to say yes.
6. What you must be able to explain to a client
After this lesson you must be able to explain the following things in a few sentences, without jargon, to a director or project manager of a construction company. You explain what the cloud is, the difference between on-premise, hosting and SaaS, and who takes care of what in each case. You explain where the data is kept and what it means that every client has its own key. You explain what a database and an API are, and why a single source for every piece of data is so important. You explain how logging in works: one account for all apps, with two-step verification or a passkey, and that blocking one account is enough when someone leaves. You explain how roles and rights work and why least privilege is sensible. You explain how to recognise a phishing email and which agreements help. You explain what a backup is and why testing restores is important. And you explain what the GDPR asks of the client, and that the client itself remains responsible.
Figure 54. Almost everything from today in one diagram from the security page (in Dutch). On the left the users with browser, desktop app or API, over https. Then one login with two-step verification. In the middle the client's own environment with its own database, storage and key, separated from other clients. On the right the backups in a second EU region. Try explaining this diagram out loud to an imaginary director. Source: open-aec.com
Tomorrow, on day 10, you will see which kinds of software the different parties in construction use, and where they clash. That is where everything from this week comes together.
In depth
Retention periods and the right of access
The GDPR gives people rights. Someone may ask which data you hold about them (access), have mistakes corrected, and in some cases have data deleted. A company must answer such a request within a month. That only works if data is kept in a fixed place and not spread across mailboxes, USB sticks and loose spreadsheets. That is a strong argument for one environment with a single source for every piece of data.
There are also retention periods. Some data you must keep for a long time: the Belastingdienst (the Dutch tax authority) requires the accounts to be kept for seven years, and construction files sometimes have value for even longer, for example for liability for defects after handover. Other data you should actually delete quickly, such as application letters from rejected candidates. As a consultant you are not a lawyer, and you do not give legal advice. But you can ask: "have you agreed retention periods, and do we need to set them up in the system?"
Figure 55. Retention periods side by side. You keep the accounts for seven years, a construction file sometimes even longer, and a rejected application only briefly. An indicative picture: the client agrees the actual periods, possibly with a lawyer.
Expert
Read the security page like an IT adviser
Open the SuperCloud's Security and privacy page on open-aec.com (under /supercloud/beveiliging/). Read all of it, and pretend you are the critical IT adviser of a medium-sized construction company. Write down five questions that are still open after reading, or that you would want to probe further. For each question, look up which term from this lesson goes with it, for example least privilege, crypto-shredding or shared responsibility.
Then also look at the data processing agreement on the website. Find the list of sub-processors and note where those parties process their data. Write half a page on how you would explain that information to a director without IT knowledge.
Check: part 5
See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.
Assignment Securing your own accounts and an IT questionnaire
Do it yourself
Today you are going to put your own digital house in order, and then draw up a questionnaire for a construction company. Everything you set up, you do on your own computer, your own phone and your own accounts, not at a client. As a consultant you need this anyway: you will soon get access to client environments, and then your own security must be in order. Allow about two hours.
Password manager. Install a password manager on your laptop and as an extension in your browser, for example Bitwarden or KeePassXC. Download it only from the official website or the official app store. Choose a master password of at least four separate words and write it down once on paper, which you keep safely at home. Have the manager create a new password of at least twenty characters for one existing account of yours, for example your OpenAEC account, and change that account's password. Log out and log in again via the manager.
Two-step verification. Install an authenticator app on your phone. Switch on two-step verification on your OpenAEC account and on at least one other account of your own, preferably your email, because whoever has your email can reset the password of almost any other account. Keep the recovery codes you get in your password manager. Can you set up a passkey for one of those accounts? Do that too, and log in once with the passkey.
Your own backup. Check where your own important files are, such as your documents and photos. Answer for yourself: how many copies are there, on how many kinds of storage, and is one of them off-site? Do you meet 3-2-1? Then try to retrieve one file from your backup or from the previous versions in your cloud storage. Does that work? How long did it take? Note what you would need to improve.
Rights matrix. For the construction company from step 5, make a rights matrix like the one in figure 31, with at least six roles and five parts. In each cell put manage, edit, read or no access. For two choices, write in one sentence why you made them, using the term least privilege.
IT questionnaire. Draw up an IT questionnaire for this fictional company: Bouwbedrijf De Vries & Zn, 35 employees, 12 of them in the office and 23 on the building sites. In the office there is a server in the meter cupboard with the project folders, with a backup disk next to it. The accounts are kept in an online package, the hours on paper weekly timesheets. Everyone on the building site shares one account on the tablet. There is one IT man who works three days a week. Write in a document, in running text: (a) which programs and data there are and where they are kept, (b) how the backup is arranged and whether it meets 3-2-1, (c) how accounts, passwords and two-step verification are arranged, (d) which personal data the company processes and whether there are data processing agreements, (e) which three risks you would tackle first and why, and (f) ten questions you will ask the IT man at the next meeting, spread over the topics of this lesson.
Expert
Extra assignment: designing a phishing exercise
Come up with a realistic phishing email for Bouwbedrijf De Vries & Zn, as a criminal would send it. Use something from construction: a new subcontractor, a changed bank account number, a drawing being shared. Do not send it to anyone: only write it out in a document. Then mark the warning signs, as in figure 36. Finally, for each step in figure 37, write which measure this company is currently missing, and what it would cost in time or money to introduce that measure.
Terms Glossary
Data centre
A building full of servers, with backup power, cooling, fire suppression, security and several fast internet connections.
Cloud
Using someone else's computers over the internet, and paying for what you use.
On-premise
Software that runs on servers in the client's own building, with all the management done by the client.
Hosting
Renting a server in a data centre; the building and hardware belong to the provider, you manage the software yourself.
SaaS
Software as a Service: software as a service. The supplier takes care of servers, updates and backups; the client takes care of its data and users.
Shared responsibility
The division of security between the data centre, the software supplier and the client.
Region
A group of data centres in one area, such as Frankfurt.
Database
A system that keeps data in tables, so that many people and programs can work with it reliably at the same time.
Record and field
A record is one row in a table, for example one project. A field is one column, for example the place.
Key (in a database)
A unique value, such as a project number, with which you can always find a record and to which other tables refer.
Migration
Transferring data from an old to a new system, after cleaning it up.
API
An agreed way in which one program can request data from or pass data to another program, like a counter.
JSON
A text format for data that both people and programs can read, widely used by APIs.
Integration
A permanent connection between two programs via an API, so that data does not have to be retyped.
Authentication and authorisation
Authentication is proving who you are. Authorisation is deciding what you may do.
Password manager
A program that keeps all your passwords encrypted and creates and fills in a unique password for every site.
Two-step verification (2FA, MFA)
Logging in with something you know (password) and something you have (phone or laptop).
TOTP
A six-digit code from an authenticator app, which changes every 30 seconds.
Passkey
A digital key on your phone or laptop, which you unlock with your fingerprint, face or PIN, and which only works on the real website.
Single sign-on (SSO)
One account and logging in once for all apps, via a central login service.
OpenID Connect
The open standard with which apps ask a login service who a user is.
Token
A short-lived digital proof of access that the login service gives to an app. Just as secret as a password.
Role and right
A role is a function in the system, such as draughtsperson; the role determines the rights: read, edit or manage.
Least privilege
Everyone gets as few rights as needed for their work, and no more.
Phishing
A fake message that tries to tempt you into clicking, filling something in or transferring money.
Ransomware
Malicious software that encrypts files, after which criminals demand a ransom.
3-2-1 rule
Three copies, on two kinds of storage, one of which is off-site.
Encryption in transit and at rest
Making data unreadable without the key, during transport (TLS) and during storage.
Crypto-shredding
Making data unreadable by destroying the key, instead of wiping every copy.
Vulnerability and update
A vulnerability is a weak spot in software; an update fixes it.
Security incident
An event that puts data or systems at risk, such as a stolen laptop or a click on a phishing link.
GDPR
The European privacy law (in Dutch: AVG), which governs how you handle personal data.
Personal data
Any data that says something about an identifiable person, such as name, address, photo, hours or location.
Controller and processor
The controller decides what happens to personal data; the processor processes it on the controller's behalf.
Data processing agreement
The contract between controller and processor on which data, what for, how it is secured and what happens in a data breach.
Data breach
An incident in which personal data is lost or ends up with the wrong people. Report within 72 hours to the Autoriteit Persoonsgegevens (the Dutch Data Protection Authority).
Exam The cloud, accounts and security
Take the exam at the end of the day, once you have done all parts and the checks. The exam is on a page of its own, without the lesson. You need 75% of the multiple-choice questions right; an assessor marks the open questions.