Skip to content

Protected Media Storage

Brent Cordis edited this page Sep 2, 2026 · 5 revisions

Protected Media Storage

Available from Proclaim 10.7.0.

Description

An access level on a media file controls the link, not the file.

If a recording is set to Registered, Proclaim will not show it to a visitor who is not logged in. But the file itself usually sits somewhere the web server will hand to anybody who types its address — and addresses leak, through browser history, a forwarded email, or a podcast feed. The restriction is real on the page and absent on the file.

Protected media storage closes that gap. Proclaim keeps a folder the web server is configured to refuse:

images/biblestudy/protected/

That folder ships with an .htaccess and a web.config that deny direct requests. A file in it cannot be fetched by its address at all — Proclaim serves it instead, after checking the same access level it would check before showing the link.

How files get there

Proclaim moves them for you. From Components → Proclaim → Media Files, select the files, open the status dropdown, and choose Move to protected storage. The file moves on disk and the record's address is rewritten in the same step, so neither is ever pointing at the other's past. A single file can also be moved from its edit screen, where the button shows the direction that applies — into protected storage, or back out.

Move out reverses it: the file returns to the folder it came from (Proclaim remembers), and never overwrites anything that has taken its old address in the meantime.

Turning it on

The move is opt-in per server, and off by default:

  1. Components → Proclaim → Servers, open the Local Server the media lives on.
  2. On its settings tab, set Offer protected storage to Yes, and save.

The switch governs only whether the move is offered. A file already in the protected folder — moved by Proclaim or placed by hand — is always served through Proclaim regardless, because the web server refuses it for everyone either way.

What is never offered the move

  • ⚠️ Media a podcast references. A feed's <enclosure> is a direct URL to the file, so a protected file cannot reach a subscriber at all. Proclaim refuses the move outright — not a warning to click past — and tells you to remove the file from the podcast first.
  • Media on other kinds of server. A file on YouTube or Vimeo is served by someone else; only files on this site's own filesystem can be moved into a folder on it.

Placing files by hand (FTP, your host's file manager) still works exactly as before — the move action is a convenience, not a requirement, and a hand-placed file is served the same way.

What does not change

  • Existing files stay where they are. Nothing is moved by updating, and nothing moves on its own.
  • Existing links keep working. Delivery is decided by where a file actually is, so every file outside the protected folder keeps the address it has always had.

How delivery works

For a file outside the protected folder, nothing changed: the page links straight to it, and the web server serves it.

For a file inside it:

  1. The player asks Proclaim for the file rather than linking to it directly.
  2. Proclaim checks the access level on the media file, its message, and its series — the same check that decides whether to show the link.
  3. If the visitor may see it, Proclaim sends the file, supporting seeking within long recordings.
  4. If not, they are refused.

Direct requests for the file still fail, for everyone, which is the point.

Download links were already served through Proclaim rather than linked directly, so they work from protected storage without any change.

⚠️ Only audio and video types are ever played in the page. Anything else is sent as a download, so a file with a misleading name cannot be turned into something the browser will execute on your site's address.

What Proclaim checks

The System Health panel on the Administration screen carries two related findings.

Protected media storage

Proclaim asks the web server for one file inside the protected folder and records whether it was refused. Nothing is changed by testing.

State What it means What to do
OK The web server refuses direct requests for the folder. Nothing.
Never tested The test has not run yet. Open the media list, which runs it.
Could not be tested The site could not reach itself over the network. Common on a local or firewalled install, and not evidence that the deny rules are wrong. Check the site can request its own address. On a live site, ask your host whether outbound requests to your own domain are blocked. Treat the folder as unproven until it answers.
Exposed The web server hands back files from the folder. This is a web server setting, not a Proclaim one. The folder ships with deny rules; if they are ignored, the server is configured to override them. Ask your host to deny web access to that path.
Not tested recently The result is older than Proclaim trusts. Server configuration changes without warning. Open the media list to re-run it.

While the folder holds no media of its own, an unproven result is reported as a notice rather than a warning — there is nothing stored to be exposed. It is still worth resolving before you start keeping restricted files there.

Restricted media reachable directly

Lists media files that are restricted in Proclaim but sit at an address this site serves directly — the gap described at the top of this page.

The finding's button opens the media list filtered to restricted files, so you are not left searching thousands of rows. That filter answers which files are restricted; whether each one is genuinely reachable depends on where its address resolves to, so treat the list as the set worth checking rather than a precise answer.

Related

Clone this wiki locally