Filelocker - Secure Access To Reports For Logged-In Users

Secure Access
to Reports:
100% Control
Over PDFs for
Logged-In Users

A person wearing glasses and a white shirt uses a laptop at a desk with papers and a calculator, shown from behind. The computer screen displays a web page with a form or data entry interface.

Client
Confidential

Year
2025

Services we provided

  • Secure Access to PDF for logged-in users

Solution
Filelocker

Introduction:

One of our clients needed an effective way to share PDF reports only with its logged-in customers. Our task was to implement a system that would reliably secure materials while allowing administrators to easily manage the files. The result? Full control over document access 
and greater security for premium content.

A person in a suit types on a laptop, with a digital overlay showing a login screen and a padlock icon, symbolizing cybersecurity and secure online access.

Background: Publishing Reports Behind Login Made Simple

The client is regularly publishing reports and analyses in PDF format – had been working with us for several months as we took over maintenance and improvements of their existing website.

As part of this ongoing collaboration, they needed a tool that would let them share selected content exclusively with users who had an account. They wanted a simple and reliable way to “lock” files behind login, without relying on complex subscription systems.

Two tablets displaying web pages with forms: one shows a file upload section and the other shows a table of uploaded file details. Both tablets are angled and positioned over red graphic circles.

The Challenge: Unprotected PDFs and Faulty Access Controls

Their previous solution had a critical vulnerability – files were stored in a location accessible without logging in, as long as someone knew the direct link. The blocking mechanism worked inconsistently and did not secure content on the production server, creating a risk of unauthorized access to reports.

The result?

FileLocker – Secure, User-Friendly Access Control for WordPress

We chose our proprietary solution – FileLocker. This plugin was created specifically to manage files requiring login: it stores them in a protected directory, checks user permissions before granting access, and lets administrators easily control who can access selected materials.

The solution also gave administrators the flexibility to publish public content that could reference restricted materials, with full confidence that those files would remain secure behind authentication. This eliminated the need to create separate versions of content for different user groups, as permissions were applied seamlessly at the file level. At the same time, file management stayed simple and intuitive, supporting the daily work of website editors without disruption.

Flowchart showing FileLocker creating a "securedpdf" directory in wp-content/uploads, interacting with server configuration, and writing .htaccess files for Apache and LiteSpeed servers to control access permissions.

The implementation included:

  • configuring the plugin so that all files were stored in a secure directory accessible only to logged-in users
  • an intuitive WordPress panel designed for ease of use – administrators can simply drag & drop files
  • a file list in table format (with upload date and sorting), which makes the team’s daily work easier
  • redirecting non-logged-in users who try to open a file – for example, to the homepage or a CTA page. The scenario is clear: a non-logged-in user clicks a link, and instead of the content they see a message prompting them to log in or go to the offer page.

The Results: Reliable Access Control

A red outline of a user or person icon, consisting of a circular shape with a smaller circle for the head and curved lines for the shoulders, on a light background.

100% effective
access control:
reports are visible only to logged-in users,

A red, simplified organizational chart icon showing one top square connected by lines to two lower squares, all on a white background.

Elimination
of server compatibility issues (Nginx vs Apache)

A red icon of a newspaper or document with two horizontal lines in the center, representing text or headlines.

Easier
file management
for administrators thanks to the intuitive panel

A red shield outline with a check mark inside, symbolizing security, protection, or verification.

Improved security
and process consistency – the team no longer needs to manually guard files or worry about bypassed protections

Conclusion: FileLocker is a scalable tool for gated content

Is there a project on your horizon? Brief us in!

Let us know when you’re free, and we’ll schedule a short intro meeting online. You tell us about your project, we will ask questions, you will ask questions and max. 30 minutes later, we will know if we’re the right fit.