=== Ankit Secure Private Files === Contributors: ankitpatel1578 Tags: download manager, access control, membership, security,file manager Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.2 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html Secure private file access with expiry, role-based permissions, token-based URLs, and detailed download logs. == Description == **Ankit 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** [my_ankit_files] Displays only files the current user is allowed to access. == Installation == 1. Upload the plugin folder to `/wp-content/plugins/` 2. Activate **Ankit Secure Private Files** 3. Go to **Private Files** in the admin menu 4. Add a new Private File 5. Select file, users, roles, and expiry 6. Use the shortcode on any page if needed == Screenshots == 1. Private Files custom post type in admin 2. File access settings meta box 3. User selection with AJAX search 4. Download logs meta box 5. Frontend list of private files == Frequently Asked Questions == = Is login required to download files? = Yes. Only logged-in users with permission can access files. = Can I restrict files by user role? = Yes. You can allow access by user roles and/or specific users. = Are files accessible via direct URL? = No. Files are protected using secure token-based URLs. = Does the plugin log downloads? = Yes. Each download logs the user, IP address, and date. = Will this work with any theme? = Yes. It works independently of themes and page builders. = Is WooCommerce required? = No. WooCommerce is NOT required. == Screenshots == 1. Add Files == Changelog == = 1.0.2 = * Code Impovements * Language POT * Few minor bugfix and improvements = 1.0.1 = * slug update = 1.0 = * Initial release * Secure token-based downloads * User and role-based access control * Expiry date support * Download logs * Frontend shortcode support == Upgrade Notice == = 1.0 = Initial stable release of Ankit Secure Private Files