Contents

Purpose of Mod

This mod is intended for those with open access to their TNG site but who wish to disable access to media for non-registered users. It allows access to media files only for logged-in users. If a non-logged-in user tries to access the relevant file they will see a message that informs them they are not authorised to view that file and a link to the Home page.

The method used in this mod can be applied to any php file to which one wishes to restrict access.

NOTE 1: The mod does not currently inhibit access to PDF media

NOTE 2: The standard version of this mod affects a sub-set of files affected by the Restrict Access modso should not be installed if you already use the Restrict Access Mod.

Mod Developer

The Mod Developer is Graham Chamberlain.

Mod Manager config file provided by Graham Chamberlain.

Automated Installation

Download the appropriate file for your TNG version from the download links in the mod summary area in the upper right.

Manual Customisation

If you wish to allow browsing of media but still disallow viewing the individual media items, you should remove the directive for browsemedia.php. Alternatively, you could limit the media restriction to browsing specific collections. The following example would only block the browsing of 'histories' for non-logged-in users: