Skip to content

Validating the File Hub

This page is for QA staff who validate the File Hub for GxP use on a Windows lab PC or file server. It describes who tests what, what Scifeon’s own tests of the File Hub cover and where they stop, and suggested steps to qualify an installation on your own PC. For how the File Hub works and what it can access, see IT and security.

PartCovered by
The Scifeon side of file ingestion: the SHA-256 check on upload, storing a file only once, processing a file only once in an experiment, and linking it to the experiment stepThe Scifeon platform validation package. See Compliance & Validation.
The File Hub program on the lab PCScifeon’s automated supplier tests, run for every File Hub release. See What the supplier tests cover.
The installation on your lab PC, with your instrument, network and settingsYour installation and operational qualification (IQ/OQ). Qualifying an installation has suggested steps.

Every File Hub release is built and tested automatically. The tests show that:

  • Files are uploaded only once they are complete, at most once and in their final form.
  • No file is lost when the File Hub stops unexpectedly or the PC restarts.
  • Uploads are retried while Scifeon or the network is unavailable, up to 15 minutes between attempts.
  • Refused files are kept under Failed Uploads with the reason, survive a restart and are retried only by hand.
  • The original file is moved or deleted only after a confirmed upload, and only if it is unchanged.
  • The SHA-256 is computed on the PC and sent with the file, and a mismatch is rejected.
  • The API key never appears in the logs, in hub.json or on the configuration page, and is stored encrypted on Windows.
  • The configuration page can only be reached from the PC itself.
  • Installing, upgrading and uninstalling keep the data folder with the settings and the stored key.

The tests run on Windows Server and Linux against a test server that behaves like Scifeon, never against a real Scifeon environment. They do not replace the qualification of the installation on your own PC, with your instrument, network and Windows version. Each release is published only when all tests pass, and comes with the test results and a record of the installer tests that includes the SHA-256 of the tested installer. These records and a detailed description of the test coverage are part of the supplier documentation described at the top of this page.

The steps in this section are a suggestion from Scifeon. You decide how to qualify the File Hub, based on your own validation approach and risk assessment, and you can change, add or leave out steps.

These parts depend on your PC and set-up, so they are qualified on your own lab PC:

  • The real instrument software and the folder it exports to.
  • Your network, firewall and proxy between the PC and Scifeon.
  • The permissions on the watched folder and on the File Hub’s data folder.
  • The setting chosen for each watched folder for what happens to the original file: leave it, move it to the uploaded subfolder (and for how many days it is kept there), or delete it.

Record the result, the date and the person for each step below.

#StepExpected result
IQ1Get ScifeonFileHub.msi and the installer test record for the release from Scifeon. Compare the installer’s SHA-256 with the record, for example with Get-FileHash ScifeonFileHub.msi in PowerShell.The hash equals the SHA-256 in the installer test record received from Scifeon.
IQ2Right-click the installer, choose Properties and open the Digital Signatures tab.Signed by Scifeon ApS, and the signature is valid.
IQ3Install the File Hub as a local administrator.The installation completes. Scifeon File Hub is listed under Installed apps with the expected version.
IQ4Open Services.Scifeon File Hub is Running, with startup type Automatic (Delayed Start).
IQ5Open http://127.0.0.1:17800/ in a browser on the PC. Then open http://<PC name>:17800/ from another computer on the network.The configuration page opens on the PC, and does not open from the other computer.
IQ6Open the configuration page and add the environment with an API key that has only the InstrumentHub scope.The environment shows Connected. The key is not shown again. The hub appears in Scifeon under the PC’s name.
IQ7Open the watched folder’s Properties and the Security tab.Only the instrument software’s account and the intended people can write to it. Record the result. See File system access.
IQ8Open Properties and the Security tab on C:\ProgramData\Scifeon\FileHub and its subfolders.Recorded, and assessed against who can sign in to the PC.
IQ9List who can sign in to the PC.Recorded.
#StepExpected result
OQ1Add a watched folder for the instrument’s export folder, in the environment from IQ6. Choose the agreed setting for the original files under Detection and Retention Settings.The watched folder appears in Scifeon as a File Agent device of the hub.
OQ2Open the watched folder and click Configure in Scifeon.The device in Scifeon shows the agreed setting. If you change it in Scifeon, click Refresh Config on the Environments page.
OQ3Export a real result from the instrument software into the folder.The file arrives in Scifeon once, under the watched folder’s device, with the expected path.
OQ4Compute the SHA-256 of the original file, for example with Get-FileHash <exported file> in PowerShell. With Move, use the file in the uploaded subfolder. With Delete, use a copy taken before the upload.The hash equals the SHA-256 stored with the file in Scifeon.
OQ5Check the original file after the upload.Leave: the file is still in place. Move: it is in the uploaded subfolder, under the same path. Delete: it is gone.
OQ6Disconnect the PC from the network and export another result.The file is listed under Queue on the watched folder’s page. The original file is not moved or deleted.
OQ7Reconnect the network. Wait up to 15 minutes, or click Retry Now on the queued file.The file arrives in Scifeon once, with the same SHA-256 as on the PC. The setting for the original file is then applied.
OQ8If the PC uses a proxy or firewall, restart the PC and repeat OQ3.The File Hub starts by itself and the file arrives.