An employee needs last month's payslip for a loan application. They message HR, who searches a folder and sends a PDF manually. Multiply that request across a growing team and mistakes become more likely: the wrong file can be attached, an old version can be sent, or a former employee may still have access to a shared link.
A self-service portal can remove repetitive work, but payslips are private documents. The right design begins with who may see, publish and correct each file.
Define the smallest useful employee view
Most employees need a dated list of their own released payslips, a clear download action and a way to report an error. They do not need to see the payroll export process or another worker's details. On a phone, a month and year should be easy to find without opening many PDFs. If the portal serves contractors and permanent staff, define which documents belong to each group rather than assuming one template fits everyone.
Do not make the portal the place where payroll calculations happen unless the company genuinely needs that system. It may simply receive approved documents from an existing payroll provider. Decide where the authoritative payroll record lives and how corrected files replace or supersede earlier versions.
Check permission on every document request
Logging in proves an identity; it does not automatically authorize every PDF URL. OWASP's authorization guidance uses payroll as an example of data that should be unavailable to unrelated roles. The server must check that the signed-in employee is allowed to access the specific payslip requested. A predictable file name or hidden link is not an access control.
HR may need to view multiple employees' records, but that permission should be limited to appropriate staff. A manager might need an attendance summary without seeing full salary details. Define roles from actual work tasks and review them when people change jobs or leave. Remove access promptly for departed employees while preserving the company's required records under its own policy.
Give HR a controlled release process
Consider a payroll run with 80 PDFs. Importing them should match each document to a known employee identifier, show mismatches before publication and let HR review the batch. Publish only after approval. If one payslip is corrected, retain a record of what changed and which version is current; do not silently swap the file while an employee is asking about a discrepancy.
Protect the files at rest and in transit, restrict public indexing and avoid sending payslip details in email or push notifications. A notification can say a new document is available and direct the employee to sign in. Record access and downloads in a way the company can use to investigate an incident, but do not log the full document content.
Test the failure cases before launch
Create two test employee accounts. Confirm employee A cannot view employee B's payslip even when a URL is copied into their browser. Check what happens when a worker loses access to their email or phone, when HR uploads a document under the wrong ID, and when a correction is released. Verify the experience on a basic mobile connection and with a PDF viewer available to the employee.
The portal should also make it obvious where to ask a payroll question. A download button does not resolve a disputed amount. Keep the communication path connected to the document and route it privately to HR.
When I scope internal tools at adityazen, I draw the employee, HR and system-admin permissions before choosing screens. For payslips, that exercise is more important than a visual dashboard. The successful result is fewer manual requests and a document trail staff can trust, with each employee seeing only what belongs to them.





