🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Secure Private Files
Secure Private Files

Secure Private Files

0/5 (0 ratings) — active installs Updated Feb 11, 2026
Private Files custom post type in admin

Private Files custom post type in admin

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.