Protecting PDF files that open to a new window

Permalink
My site contains hyperlinks to PDF files that open to a new window. I require guests to register in order to view the files.

When a file is open in a browser window, I notice that I can copy the URL, logout as a registered user, clear my cache, open a new browser, paste the URL and still view the file. This is a concern because I only want registered users viewing the URL / file.

My View File File Manager Permissions are Administrator and Registered Users.

I welcome guidance.

 
jvansanten replied on at Permalink Reply
This add-on may address your requirement:http://www.concrete5.org/marketplace/addons/document_library/... . It would be worthwhile to ask this as a presale question.

Otherwise, you're looking at creating your own file upload/download mechanism, storing the files in a folder of your own making, securing that folder, creating a php file to deliver a file to the requestor, allowing access to that file only to registered members, and sending the name of the file to that routine for downloading.

Alternatively, you might use a secure mechanism like Google apps, dropbox.com, box.net and provide login credentials.