is it possible to authenticate a pdf download?
Posted: Thu Feb 17, 2005 11:33 am
I am creating a website with information that is available to download by PDF.
Users will log in to an "account" area and depending upon who they are different PDF downloads will be made available.
The problem is once the directory containing the downloads is known, users could guess at the download filenames.
Is there any way that PHP can pass a username and password to a directory protected with .htaccess? If there is I could create different folders and once a user logs into to their "account" area in PHP I could record their username and password and direct them to a folder that is protected by .htaccess without them having to login again!
If you know what I mean!
Users will log in to an "account" area and depending upon who they are different PDF downloads will be made available.
The problem is once the directory containing the downloads is known, users could guess at the download filenames.
Is there any way that PHP can pass a username and password to a directory protected with .htaccess? If there is I could create different folders and once a user logs into to their "account" area in PHP I could record their username and password and direct them to a folder that is protected by .htaccess without them having to login again!
If you know what I mean!