Secure Private Files

Secure Private Files

Details
View on WordPress

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.

Details

Plugin code:
ankit-secure-private-files
Plugin version:
1.0.3
Outdated:
No
WP version:
6.0 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.9.1
Total installations:
0
Last updated:
2026-02-11
Rating:
Times rated:
0
access-control
download-manager
file-manager
membership
security