File Visibility Manager is a WordPress plugin that provides granular control over file access and visibility on your WordPress site. It allows administrators to protect specific file types and manage access through an intuitive admin interface.
- Protect specific file types (e.g., PDF, DOC, DOCX)
- Exclude individual files from protection
- Custom redirect URL for unauthorized users
- User-friendly admin interface
- Secure file access control
- Compatible with WordPress multisite
- Lightweight and optimized performance
- Download the plugin files
- Upload the
file-visibility-managerfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Configure the plugin settings under 'File Visibility' in the admin menu
- Navigate to 'File Visibility' in your WordPress admin menu
- Enter file extensions you want to protect (comma-separated)
- Add any specific files you want to exclude from protection
- Set a custom redirect URL for unauthorized users
- Save your settings
- Default: pdf
- Format: Comma-separated list (e.g., pdf,doc,docx)
- Case-insensitive
-
Enter one filename per line
-
Use exact filenames including extension
-
Example:
document1.pdf presentation.pdf report2023.pdf
- Default: Site homepage
- Must be a valid URL
- Can be internal or external
- Prevents direct file access
- WordPress nonce protection
- User capability validation
- Data sanitization
- Secure form handling
- WordPress 5.0 or higher
- PHP 7.2 or higher
The plugin intercepts file requests and checks if the requested file matches the protected extensions. If it does and the user is not logged in, they are redirected to the specified URL.
Currently, the plugin protects files based on their extension across the entire site. Folder-specific protection may be added in future versions.
Yes, the plugin will protect all files with the specified extensions, including existing files.
Yes, but you may need to configure your CDN to pass through WordPress authentication.
For support, feature requests, or bug reports, please create an issue on our GitHub repository.
Contributions are welcome! Please feel free to submit a Pull Request.
This plugin is licensed under the GPL v2 or later.
- Initial release
- Basic file protection functionality
- Admin interface
- File exclusion system
- Custom redirect URLs
- Role-based access control
- Directory-specific protection
- Bulk file management
- Access logs
- API integration
Developed by [Your Name/Company]
This plugin does not collect or store any personal data. It only manages file access permissions within your WordPress installation.