Skip to content

mattheu/Private-Media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Private Media ===
Contributors: mattheu
Tags: private, media, files
Requires at least: 3.5
Tested up to: 3.5
Stable tag: 0.1

Make files in the WordPress media library private. These are only accessible to logged in users.

REQUIRES: HM Core.

== Description ==

Private files are moved to a obsfucated location. Access can be completely restricted with .htaccess/nginx. URLs to private attachments are rewritten and the true location is not visible. Requests to these files hit a php script which authenticates the request and returns the file.

Non-private files are not affected.

Private attachments are not visible by default in the media library. Options are provided to filter results by private or public.

Access to Private files attachment pages in the front end is restricted. Will return 404 for logged out users.

== Installation ==

* Install & Activate the plugin.
* Edit an attachment, and check the private files option to set an attachment as private.

About

WordPress Plugin: Private Media

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages