in reply to Protecting a PDF file

I remember reading merlyn's article way back when, but have forgotten the gist of it.

Nowadays I would be using Mojolicious, and set up an auth-bridge in the Mojolicious router. This would allow you to only serve those PDF files to those who have met the criteria that let's them pass through the authorization bridge. Any other (mis)user won't have access.

There's a little learning curve to Mojolicious, but once you catch on it's so slick you'll be using it all over the place.


Dave

Replies are listed 'Best First'.
Re^2: Protecting a PDF file
by jck (Scribe) on Apr 28, 2013 at 14:21 UTC
    Dave, this looks perfect!! and, i'm sure that it would be better than using this old code that we've relied on so long, but i'm sure is susceptible to hacks. does this also protect pages? i really want to try to stick with allowing anyone who has logged into the "protected" area of our site to have access to everything.