plugin-icon

Secure Private Files

Secure private file access with expiry, role-based permissions, token-based URLs, and detailed download logs.
Version
1.0.4
Last updated
May 21, 2026
Secure Private Files

Secure Private Files allows you to securely manage and share private files with selected users or user roles in WordPress.

Files are protected using unique token-based URLs, ensuring they cannot be accessed without proper permission. You can define who can download each file, set an expiry date, and track download activity.

This plugin is ideal for: – Membership sites – Client portals – Secure document sharing – Restricted downloads – Private resources for logged-in users

Key Features

  • Secure token-based file access (no public URLs)
  • Assign files to specific users
  • Allow access by user roles
  • Optional expiry date for each file
  • Logged-in user verification
  • Download activity logging (user, IP, date)
  • Dedicated Private Files custom post type
  • Media library integration for file selection
  • AJAX-powered user search (Select2)
  • Frontend shortcode to list accessible files
  • Works with any WordPress theme
  • No third-party dependency required

How It Works

  1. Admin creates a Private File post
  2. Uploads or selects a file from Media Library
  3. Assigns allowed users and/or roles
  4. (Optional) Sets an expiry date
  5. Plugin generates a secure download token
  6. Authorized users can download the file using the secure link

Shortcodes

List logged-in user’s available private files [secure_files]

Displays only files the current user is allowed to access.

Freeon paid plans
Tested up to
WordPress 7.0
This plugin is available for download for your site.