Private files by user role in WordPress

Normal WordPress uploads can be opened by anyone with the link. With protected files, you can choose who can open each file.

Access settings for the Partner onboarding guide, with Editor and Subscriber selected and an option to pause access.

How it works

  1. Open Media → Protected Files.
  2. Under Upload protected file, choose the file and Upload as protected.
  3. Open the file and choose who can open it under Manage access.
  4. Add a Protected Media block to your page.
  5. Open the link in a private window to check that it is refused.

Included in Media Workspace

  • Encrypted storage available
  • Access by user role or account
  • JPEG, PNG, WebP and PDF
  • ZIP if you turn it on
  • Pause access without changing the link

FAQ

Can I protect files I already uploaded?

Upload them again as protected files.

What does encrypted storage need?

PHP with sodium. Back up the database and the files together, because the database holds the key.

Can I choose who opens each file?

Yes. Use the site defaults, select WordPress roles, or choose specific WordPress accounts for each file.

Get Media Workspace.

€39 / year (ex VAT) · 1 site