PHPackages                             digitalutsc/private\_files\_adapter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. digitalutsc/private\_files\_adapter

ActiveDrupal-module[Security](/categories/security)

digitalutsc/private\_files\_adapter
===================================

This module override access control for private file system with Cantaloupe

1.0.0-beta5(2y ago)01.9k↓50%GPL-3.0-onlyRuby

Since Jun 8Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/digitalutsc/private_files_adapter)[ Packagist](https://packagist.org/packages/digitalutsc/private_files_adapter)[ Docs](https://www.drupal.org/project/private_files_adapter)[ RSS](/packages/digitalutsc-private-files-adapter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

Private Files Adapter
=====================

[](#private-files-adapter)

Related issue: [digitalutsc/islandora\_group#4](https://github.com/digitalutsc/islandora_group/issues/4)

Download Islandora Lite playbook:
---------------------------------

[](#download-islandora-lite-playbook)

```
composer require digitalutsc/private_files_adapter

```

**OR**

```
git clone -b islandora_lite https://github.com/digitalutsc/islandora-playbook.git islandora-lite-playbook

```

Apply a patch for Openseadragon Viewer
--------------------------------------

[](#apply-a-patch-for-openseadragon-viewer)

- Openseadragon Viewer module:
- Run the following commands:

```
cd /var/www/html/drupal/web/modules/contrib/openseadragon
wget https://raw.githubusercontent.com/digitalutsc/private_files_adapter/main/scripts/openseadragon.authentication.patch
patch -p1 < openseadragon.authentication.patch

```

How to adjust Cantaloupe in Islandora Lite Playbook
---------------------------------------------------

[](#how-to-adjust-cantaloupe-in-islandora-lite-playbook)

- Copy the delegate.rb to `/opt/cantaloupe`

```
sudo cp /var/www/html/drupal/web/modules/custom/private_files_adapter/scripts/delegates.rb /opt/cantaloupe

```

- Change configuration of Cantaloupe to enable Delegate Script for Lookup

```
sudo mv /opt/cantaloupe/cantaloupe.properties /opt/cantaloupe/cantaloupe.bk
sudo cp /var/www/html/drupal/web/modules/custom/private_files_adapter/scripts/cantaloupe.properties /opt/cantaloupe

```

- Restart Cantaloupe

```
sudo service tomcat9 restart

```

Enable the module
-----------------

[](#enable-the-module)

```
git clone https://github.com/digitalutsc/private_files_adapter.git /var/www/html/drupal/web/modules/contrib/private_files_adapter
drush en -y private_files_adapter

```

Create and set JWT keys
-----------------------

[](#create-and-set-jwt-keys)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance57

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~62 days

Total

5

Last Release

825d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93b3333590627ade267a7c2f1d7ccf7fa8c542838d5ea75845e5d77d3e0d7b7e?d=identicon)[kylehuynh](/maintainers/kylehuynh)

---

Top Contributors

[![kylehuynh205](https://avatars.githubusercontent.com/u/7862086?v=4)](https://github.com/kylehuynh205 "kylehuynh205 (47 commits)")[![Kxka](https://avatars.githubusercontent.com/u/86553152?v=4)](https://github.com/Kxka "Kxka (1 commits)")

### Embed Badge

![Health badge](/badges/digitalutsc-private-files-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/digitalutsc-private-files-adapter/health.svg)](https://phpackages.com/packages/digitalutsc-private-files-adapter)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
