Choose your language

Choose your login

Support

Securing your Release Station setup

This page applies to:

Last updated November 24, 2026

PaperCut NG/MF 26.0.7 adds a shared secret that Release Stations must present before the Application Server lets them connect. The server generates the secret for you and saves it in a key file.

  • New installs are secure by default. Release Stations won’t connect until you copy the key file to each Release Station PC, configure the Release Station to use it, and add the Release Station addresses to the allowed list (set to 127.0.0.1 by default).
  • Upgrades don’t break anything. The key file is created for you, and existing Release Stations keep working without it (legacy mode) until you finish the hardening steps below.
  • Upgrading alone doesn’t fully secure your setup. After upgrading, follow the steps below, which include turning legacy mode off.

Summary of security configuration settings

Release Station security is now controlled by these settings:

Setting or file

Location

Purpose

Key file:
release-station-secret.dat

[app path]/server/data/release-station-secret.dat

The key file holds the shared secret. This file can be copied to each Release Station.

This key file is generated automatically on install and upgrade.

Config file key:
release-station.shared-secret=

[app path]/server/server.properties

The server.properties file holds the shared secret that the server is expecting the release stations to present, stored as a hash (HASH:xxx).

This config file key is generated automatically. To change it, type a new plain-text value here - the server hashes it, replaces the plain text value that you typed, then writes the plain text to release-station-secret.dat.

Config file key:
shared-secret-file=

[app path]/release/config.properties

This config key defines the file system location of the key file (release-station-secret.dat) on the Release Station machine.

Config file key:
security.release-station.legacy-authentication-enabled=

[app path]/server/security.properties

Defines whether the server will allow the legacy authentication method for release station connections.

Y lets release stations connect without the key file (legacy mode).

N requires the key file to be set up correctly.

If this key is missing from the security.properties file (e.g. after an upgrade), it defaults to using legacy mode - effectively using Y.

Config editor key:
auth.release-station.allowed-addresses

Admin web interface: Options > Actions > Config Editor

Defines the IP address or range of addresses that may connect as a Release Station.

New installs from version 26.0.7 default to 127.0.0.1. Upgrades keep their existing value, usually * (any address). See Restrict access to the Application Server by Release Stations for more info.

Config editor key:
user.security.ip-rate-limit-per-min

Admin web interface: Options > Actions > Config Editor

Defines how many failed login attempts a release station can make per minute before it's temporarily blocked.

This release also adds two further protections:

  • Once legacy mode is off, a Release Station must first connect using the secret key, contained in the secret file on the Release Station machine before users can log in at it.
  • Whether or not legacy mode is on, if a computer makes too many failed login attempts in a minute, such as wrong passwords or unknown card numbers, it’s temporarily blocked. The limit is set by user.security.ip-rate-limit-per-min.

Comparison of configurations for a fresh install (from 26.0.7) compared with an upgrade

Fresh install

Upgrade

Key file:
release-station-secret.dat

Generated automatically

Generated automatically

Shared secret configured in server.properties
(release-station.shared-secret=)

Generated automatically (stored as a hash)

Generated automatically (stored as a hash)

Legacy mode

Off (security.release-station.legacy-authentication-enabled=N)

On, until you copy the config key parameter security.release-station.legacy-authentication-enabled= from security.properties.template into security.properties and set it to N (step 1)

Release station behavior

Won't connect until configured with the secret key file.

Remain working as before (in legacy mode).

Allowed IP addresses

127.0.0.1 - add your Release Station addresses

Existing value kept (usually *)

Before you start

You’ll need the following before hardening your setup.

  • PaperCut NG/MF 26.0.7 or later installed.
  • Access to the Application Server’s file system, and permission to restart the Application Server if upgrading your setup. Plan the restart for a quiet period.
  • Every Release Station you run, how it’s installed (from the server’s release folder or locally), and its IP address for step 6

Steps to secure your Release Station setup

Work through these steps in order. Step 1 is different for new installs and upgrades; steps 2 to 7 are the same for both. On an upgrade, Release Stations stop connecting from step 1 until they have the key file, so plan the work for a quiet period. On a new install, step 6 is also required before Release Stations on other computers can connect.

  1. Prepare the server.
    • New install: the installer creates the key file at [app path]/server/data/release-station-secret.dat and stores a hashed copy of the secret in [app path]/server/server.properties. Legacy mode is off by default, so there’s nothing else to do here.
    • Upgrade: the upgrade creates the key file at [app path]/server/data/release-station-secret.dat, and stores a hashed copy of the secret in [app path]/server/server.properties, and adds the legacy mode setting to [app path]/server/security.properties.template.
      Upgrades never change security.properties itself, so you will need to copy the setting from the template into [app path]/server/security.properties and set it to N. i.e. security.release-station.legacy-authentication-enabled=N
      Restart the Application Server. Release Stations can’t connect successfully until they have the secret key file (steps 2 to 5). If you need them back quickly, set the legacy authentication value to Y and restart the Application Server service.
  2. Choose one folder for the key file on your Release Station PCs, for example C:\PaperCut\ReleaseStation\. If your stations run from the server’s release folder (the shared distribution model), every PC must use the same folder, because they all read the same settings file.
  3. Copy the key file to each Release Station PC, into the folder you chose. Copy release-station-secret.dat from [app path]/server/data/ to the location you’ve chosen in step 2. Make sure the account that runs the Release Station can read it, and limit access for everyone else.
  4. Point each Release Station at its local key file. Set the config key shared-secret-file in the release station’s config.properties file, to define the location of the release-station-secret.dat key file.
    Upgrades don’t change config.properties, so on an upgrade, first copy the # shared-secret-file= line from config.properties.template in the same folder, then remove the #.
    On Windows, use a double backslash between every folder name, for example shared-secret-file=C:\\PaperCut\\ReleaseStation\\release-station-secret.dat.
    On Mac or Linux, for example shared-secret-file=/Users/Shared/PaperCut/ReleaseStation/release-station-secret.dat.
    • Shared distribution model: edit [app path]/release/config.properties once. Every station launched from that folder uses this path.
    • Locally installed copies: edit config.properties on each machine.
  5. Test each Release Station. Restart it, sign in as a user, and check that held jobs appear and can be released and cancelled.
  6. Define which release stations can connect. In the Config Editor, set auth.release-station.allowed-addresses to the network addresses of your Release Stations. On new installs the default is 127.0.0.1, so this is required before Release Stations on other computers can connect. On upgrades your existing value is kept (usually *, which allows any machine), and we strongly recommend restricting it. For full instructions, see Limit which computers can connect as a Release Station.
  7. Keep the key file safe. Treat it like an administrator password:
    • Don’t leave copies in shared network folders or email. Delete any temporary copies you used to distribute it.
    • Restrict access to the file on the Release Station PC, so that only the account running the Release Station can access it.
    • If you think it’s been exposed, replace it (see the FAQ) and copy the new file to every station.

Troubleshooting

Most problems come from a key file that’s missing, in the wrong folder or out of date on a Release Station PC, or a change to security.properties that hasn’t been applied with a restart.

What you see

Likely cause

What to do

Release Station shows "Release Station shared secret is invalid or has not been configured"

The key file is missing, unreadable or out of date on that PC, or shared-secret-file points to the wrong location

Check that shared-secret-file points to the key file, that the station's account can read it, and that it's a current copy. If in doubt, copy release-station-secret.dat from the server again.

One station fails but others work (shared distribution model)

The key file isn't in the same folder on that PC as on the others

Copy the key file into the same folder used on the other PCs.

server.log shows "Release station authentication failed: shared secret mismatch"

A station's key file isn't the current one, for example after the secret was changed

Copy the current release-station-secret.dat from the server to that station again.

No Release Station can connect after turning legacy mode off

Stations haven't been set up with the key file yet

Set legacy mode back to Y, restart the Application Server, then complete steps 2 to 5.

A change to security.properties has no effect

The Application Server hasn't been restarted

Restart the Application Server. Changes to server.properties don't need a restart.

Release Stations on other computers can't connect, even with a current key file

Their addresses aren't in auth.release-station.allowed-addresses (on new installs the default is 127.0.0.1)

Add the stations' addresses in the Config Editor.

Application Log shows "Server has detected suspicious user client activity from IP ... and temporarily denied requests from this address"

A machine made too many failed login attempts in a minute

Requests resume after 60 seconds. If it's a busy legitimate site where many stations share one address, review user.security.ip-rate-limit-per-min. If not, investigate the machine.

FAQ

Will upgrading break my Release Stations?

No. Upgrades turn legacy mode on, so existing stations keep working exactly as before.

Do I have to complete the hardening steps?

We strongly recommend it. While legacy mode is on, stations will continue to connect without a shared secret, which is less secure.

How do I check whether legacy mode is on?

Open [app path]/server/security.properties. If security.release-station.legacy-authentication-enabled is Y, legacy mode is on.

Do I need to create the shared secret myself?

No. The server generates it on install and upgrade. It stores a hashed copy in [app path]/server/server.properties and the plain text in [app path]/server/data/release-station-secret.dat, which is the file you copy to your Release Stations.

Do all my Release Stations use the same key file?

Yes. Each server has one key file, and every Release Station that connects to it needs its own local copy. With the shared distribution model, the copy must be in the same folder on every PC.

How do I replace the key?

Open [app path]/server/server.properties and replace the release-station.shared-secret value (it starts with HASH:) with a new plain-text secret. The server hashes the new value and writes the plain text to release-station-secret.dat, with no restart needed. Then copy the new key file to every Release Station PC. Stations show an authentication error until they have the new file.

Does this affect device (MFD) release or Mobile Print Release?

No.


Comments

Comments are not available in this preview environment. On papercut.com, this space shows the live Disqus comment thread for this page.