This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

File Proxy

Description

File Proxy is a simple WordPress plug that lest you protect / restrict access to a specific embedded file.
It lets you embed files from the upload directory into a post or page using a short code that restricts access to registered users.
Guest users who click on the link are prompted to login before returning the file.

File Proxy acts as a Proxy protecting the specific file

Key Features:

  • The true file URL is never revealed preventing hot linking.
  • Cherry pick which files you want to protect.
  • Simple shortcode interface.

Contributing

The development home for this plugin is on GitHub. This is where active development happens, along with issue tracking and associated discussions.

https://github.com/geraintp/file-proxy

Support

Support for this plugin will be provided in the form of Product Support. This means that I intend to fix any confirmed bugs and improve the user experience when enhancements are identified and can reasonably be accomodated. There is no User Support provided for this plugin. If you are having trouble with this plugin in your particular installation of WordPress, I will not be able to help you troubleshoot the problem.

This plugin is provided under the terms of the GPL, including the following:

BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

Installation

  1. Install through the WordPress admin.

or

  1. Upload file-proxy to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [file-proxy id='attachment_id']link text[/file-proxy] or [file-proxy id='attachment_id'] in your page or post

FAQ

How do I find the attachment id?
  1. Go to the Media Library and hover over the file you want to attach, at the end of the url in the status bar you will see &attachment_id=xxx
  2. the number at the end is the number you want.

Contributors & Developers

“File Proxy” is open source software. The following people have contributed to this plugin.

Contributors

Translate “File Proxy” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.6

  • This version requires WordPress 4.1 or later
  • Update Compatibility with WordPress 4.1
  • Plugin Reboot.
  • Moved to http://github.com/geraintp/file-proxy

0.5

changed a variable name to, obscure it to avoid conflicts.

0.4

minor bug fix

0.3

Uses filename when link text is not specified. i.e. [file-proxy id='attachment_id']

0.2

Adds some Variable sanitation