The first article in this series explored why HR data has become a primary target. This article focuses on how that data actually moves — and how protection needs to change at each stage.
In almost every conversation about HR data security, the same question appears: ‘Our data is in the cloud. Isn’t it just secure?’
It is a fair assumption. Cloud infrastructure is managed by companies whose entire business depends on not getting breached. But the question contains a misunderstanding that matters: it treats data as a single thing in a single state, when in reality data moves through three distinct conditions — each with its own vulnerabilities, each requiring its own protective measures.

Data at rest.

Data in transit.

Data in use.
These three states are not technical terms invented by security teams to complicate things. They describe something real about how information behaves inside an HR system.
Understanding them is not optional for HR and IT professionals. It is the foundation for every meaningful conversation about whether your employee data is actually protected, or whether you are simply assuming it is.
Why the distinction matters
If the CIA framework describes what security needs to achieve, the three states describe where those protections apply in practice.
Let’s think for a moment about the many interactions that happen during a normal day in a typical HR system.
For example, a manager logs in from a mobile device to approve a leave request. The approval triggers a notification to the employee. Payroll runs overnight and exports salary data to a bank integration. A new joiner’s identity documents are uploaded during onboarding. An HR administrator generates a headcount report and downloads it as a spreadsheet. A terminated employee’s records are retained in the system for compliance purposes.
Each of these moments involves data in a different state:
1) The salary records sitting in the database overnight are at rest.
2) The payroll file traveling to the bank system is in transit.
3) The manager reading and acting on the leave request is data in use.

The protective measures that matter for each moment are different — and a failure in any one of them represents a genuine vulnerability, regardless of how well the other two are handled.
An organization can have enterprise-grade encryption on its database and still transmit payroll files over an unencrypted channel. It can have perfect transmission security and still allow twenty people access to data that only three of them need.

Understanding the three states is understanding where those gaps are most likely to appear — not because the system is inherently complex, but because different types of protection apply at different points in how data is used.

DATA AT REST: The employee records sitting in the system
Data at rest is any information that is stored rather than actively moving. For an HR system, this includes the entire employee database — personal details, payroll records, leave histories, performance documentation, biometric templates — along with backup copies of that data, archived records of former employees, and any files uploaded to the system.
The primary risk to data at rest is unauthorized access. This can happen through direct system access, compromised credentials that provide legitimate-looking entry, or through physical access to the underlying infrastructure. It can also happen from the inside — a database administrator who queries salary data they have no business reason to access, or an HR team member who exports a full employee list and takes it with them when they leave.
Encryption is the foundational protection for data at rest. When a database is encrypted, the data stored within it is converted into a form that is unreadable without the correct decryption key. This means that even if an attacker gains access to the underlying database files — through a server breach, a stolen backup drive, or a rogue infrastructure employee — the data itself remains protected.
| In practical terms, this means that access to stored data is controlled not just by system permissions, but by how the data itself is protected. |
Not all encryption is equivalent, and the details matter. AES-256 is the current standard for strong symmetric encryption, used by financial institutions and government agencies globally. A database encrypted with AES-256 using a customer-specific key, meaning each organization’s data is encrypted with a key unique to them, not a shared key across all customers, provides a meaningfully higher level of protection than a system using a single shared encryption approach.
The distinction is relevant when evaluating vendors: customer-specific encryption keys mean that a breach affecting one customer’s data cannot be used to access another’s.
Backup files deserve specific attention because they are frequently overlooked. The main database may be fully encrypted, but if backup files are stored without equivalent protection, they represent an unguarded copy of everything the system holds.

The Indonesian national data center attack in 2024 revealed another dimension of this problem: a significant portion of data had not been backed up at all, meaning that when the attack occurred, recovery was not just a decryption problem — the data was simply gone. Encryption protects data from being read by unauthorized parties. Backup integrity ensures that data can be recovered when systems fail or are disrupted.
Files stored in the system (identity documents, salary slips, signed contracts, biometric images) require the same standard of protection as the database itself. It is not unusual for organizations to encrypt their primary database carefully while leaving uploaded files in a general file server with weaker controls. A thorough security posture treats every form of stored data with the same seriousness.

Files stored in the system (identity documents, salary slips, signed contracts, biometric images) require the same standard of protection as the database itself. It is not unusual for organizations to encrypt their primary database carefully while leaving uploaded files in a general file server with weaker controls. A thorough security posture treats every form of stored data with the same seriousness.

DATA IN TRANSIT: The moment your data moves between systems
Data in transit is information that is actively moving between systems — from a user’s browser to the server, from the HR system to a payroll processor, from the main data center to a backup facility, from the HRIS to a third-party recruitment or benefits platform.
This is frequently where organizations are most exposed, and least aware of it. Not because it is inherently less secure, but because it is often less visible. The database may be locked down. The server may be in a physically secure facility. But every time data travels across a network, particularly a public network like the internet, it passes through infrastructure that neither party fully controls.

The foundational protection for data in transit is transmission encryption. Transport Layer Security, commonly referred to as TLS, is the current standard. You encounter it as the padlock in your browser’s address bar (Edge, Firefox, etc.) or as a tuning icon (Chrome) before the website address. It is the signal that the connection between your device and the server is encrypted, meaning that even if someone intercepts the traffic, what they capture is unreadable. TLS has replaced its predecessor SSL, though the two terms are still used interchangeably in many conversations. A system still operating on older SSL versions is running on a protocol with known vulnerabilities that should have been addressed years ago.


TLS handles web traffic, which is the connection between a user’s browser or mobile application and the server. But it does not automatically cover every channel through which HR data moves.
File transfers between systems, e.g. payroll exports, integrations with attendance hardware, data migrations, require their own encryption approach. PGP encryption is a well-established standard for secure file transfer. It uses a public-private key pair to encrypt files before they are sent and decrypt them only when they arrive at their destination. This means that a file protected by PGP encryption remains unreadable even if it reaches the wrong destination. However, a file sent over an unencrypted channel is readable by anyone who intercepts it in transit.
Integration points deserve particular attention. Modern HR systems do not operate in isolation. Most of them connect to payroll processors, banking systems, attendance devices, recruitment platforms, employee benefits providers, and increasingly to analytics tools. Each integration is a channel through which data travels. Each channel has its own security profile. In many organizations, these integration points evolve over time and are not always reviewed with the same level of scrutiny as the core system.
In practice, this is where we see the most inconsistencies across organizations — not in the core system, but in the connections around it.

The question for any organization is not just “is our HRIS secure?” but “is every system our HRIS connects to also handling the data it receives with appropriate care?” API security — the technical standards governing how systems communicate with each other — is increasingly important as HR ecosystems become more connected, and it is an area where many organizations have not asked the right questions of their vendors.
| The practical implication for HR leaders is simple but important: when a vendor tells you your data is encrypted, ask specifically whether that covers data in transit as well as data at rest, and whether it covers file transfers and integrations — not just the primary web application. |

DATA IN USE: The moment a human being touches the data
Data in use describes information that is being actively accessed, processed, or manipulated — when a payroll administrator is running payroll calculations, when a manager is reviewing a performance record, when an HR business partner is generating a turnover report, when a system administrator is querying the database directly.
This is the state where encryption provides the least direct protection, because by definition the data needs to be readable to be useful. The person or system accessing the data has been granted permission to see it — the question is whether that permission is appropriate, whether it is properly scoped, and whether what happens to the data during that access is controlled and traceable.
The primary protective mechanisms for data in use are authentication and authorization.
Authentication is the process of verifying that the person accessing the system is who they claim to be. A username and password is the baseline, but it is no longer sufficient on its own. Research consistently shows that compromised passwords are involved in the majority of data breaches. The reason is straightforward: passwords can be guessed, exposed through phishing, or in unrelated breaches, or reused across systems.
Multi-factor authentication (short MFA), requiring a second form of verification beyond the password, such as a code generated by an authenticator application, a biometric confirmation, or a PIN sent to a registered device, significantly raises the barrier for unauthorized access. An attacker who has obtained a password still cannot access the system without the second factor. For HR systems containing the organization’s most sensitive personal data, MFA should be treated as a baseline requirement rather than an optional enhancement.

Single Sign-On, or SSO, adds a different dimension of security. Rather than maintaining separate credentials for every application an employee uses, SSO allows a single authenticated session to access multiple systems. The security benefit comes from centralization: when an employee leaves the organization, or when a security incident requires revoking access, IT can do so in one place rather than needing to track down and deactivate accounts across dozens of systems. SSO implementations using SAML 2.0 or OAuth 2.0 protocols connect the HR system to the organization’s existing identity management infrastructure, which means access control for HR data follows the same standards as access control for every other enterprise system.
Authorization is distinct from authentication. It governs not whether someone can access the system, but what they can see and do once they are inside. Role-based access control, commonly abbreviated as RBAC, is the standard approach: users are assigned roles that define their permissions, and those permissions are limited to what their function actually requires. The goal is not to restrict access unnecessarily, but to align access with responsibility.
In an HR context, this means the payroll team can access payroll data but not performance records. Recruiters can see candidate information but not existing employee compensation. Line managers can view and approve requests from their own team members but not from other departments. The HR administrator responsible for configuring the system can change settings but cannot necessarily access the underlying employee data that the configuration governs.

principle of least privilege. It requires careful design and regular maintenance. Organizations tend to accumulate permission exceptions over time:
- a manager who was temporarily given elevated access for a project and never had it revoked,
- a former HR team member whose account was deactivated but whose access profile was copied to create a new one,
- a system administrator with unrestricted database access because it was convenient during implementation.
These are the conditions under which insider incidents can happen, not with malicious intent, but, often, through accumulated negligence.
Audit trails are the visibility layer over data in use. Every meaningful action in a well-designed HR system, for example a data field changed, a record accessed, a file downloaded, a permission modified, a login attempt failed, should be logged with a timestamp, a user identifier, and enough context to reconstruct what happened. These logs serve multiple purposes: they are the evidence trail if something goes wrong, the monitoring tool that allows unusual behavior to be detected before it becomes a breach, and the compliance documentation that demonstrates to regulators that the organization knows who did what to whose data and when. Their value depends not just on existence, but on whether they are reviewed and acted upon.
The retention of those logs matters. A log that is deleted after thirty days is less useful than one retained for ninety. A log stored in the same system it is monitoring is more vulnerable than one stored separately. A log that only IT can access provides no value to HR leaders trying to understand whether their data has been handled appropriately.

KEY TAKEAWAY
The 3-State Protection Overview
HR data is not protected at once. It moves through three different states and is protected differently at every stage:
At rest → encryption matters
In transit → channels matter
In use → access control matters
Security depends on how consistently these are applied.

The three states together: why all three must be addressed
Security failures rarely announce their weak point. An organization that protects data at rest and in transit but neglects authorization controls will eventually face an insider incident. An organization with rigorous access controls but unencrypted backup files will eventually regret that decision. An organization that encrypts everything but never reviews its audit logs will not discover a breach until after the damage is done
The three states are not a checklist to complete and set aside. They are a framework for thinking continuously about where employee data is, what form it is in at any given moment, and whether the protections in place are actually matched to the risks that apply to that specific moment.

| These are not independent problems to solve. They are aspects of the same system, viewed from different points in time. |
The practical questions for any HR leader reviewing their current system (or evaluating a new one) are straightforward:
- Data at rest
- How is the data is protected? What encryption standard is used for your database?
- Data in transit
- How are file transfers protected?
- What protocols govern integrations?
- Data in use
- What authentication methods exist?
- How is data access controlled?
- What does the audit log capture?
If the answer involves a lot of general language about being “secure” and “compliant” without specifics, that is useful information too. Clarity in these answers is often a better indicator than the number of features described.

Most organizations will find that some areas are well covered and others less so. What matters is not perfection, but clarity — knowing where those differences exist, and addressing them knowingly over time.
That is what effective protection looks like in practice.
This article is part of a series on HR data security and privacy for organizations operating in Southeast Asia. It is written from the perspective of DataOn, the team behind SunFish HRIS, with over 25 years of operational experience in the region.
