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(2mo ago)02.0k↓33.3%GPL-3.0-onlyRubyCI passing

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 yesterday

READMEChangelog (6)Dependencies (6)Versions (8)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

43

—

FairBetter than 89% of packages

Maintenance84

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.7% 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 ~206 days

Recently: every ~251 days

Total

6

Last Release

87d 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 (49 commits)")[![Aryan-R-Patel](https://avatars.githubusercontent.com/u/107621152?v=4)](https://github.com/Aryan-R-Patel "Aryan-R-Patel (4 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

[mews/purifier

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

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k38](/packages/paragonie-ecc)[laravelgems/blade-escape

Custom blade directives to figth against XSS

1212.5k](/packages/laravelgems-blade-escape)

PHPackages © 2026

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