Provided the pdf reader uses a standard http request to obtain the
file then this can be done using urlrewrite.  I have a php script for
creating such directories on a per user basis.  Each user has files
stored in individual directory which has a .htaccess file with rewrite
rule using rewritebase.  User only has access to the url if logged in
with their own account.

On Aug 11, 2:48 pm, "H G Laughland" <[email protected]> wrote:
> Good afternoon all,
>
> I am currently involved in a project to create a site for a magazine that
> will be selling pdf versions online;
>
> The problem is finding a way of securing our pdf files so they can only be
> viewed, by first logging into a paid subscription account on the client's
> site..
>
> The external readers I have looked out don't have a way of checking with the
> client's site first to see if the pdf should be displayed or not. The word
> press plugins have ways around them too.
>
> Any suggestions?
>
> Thanks
>
> Hamilton

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to