Re: [PHP] Safely Storing & Delivering PDFs

2001-11-25 Thread Hank Marquardt
You need to store your PDFs outside the web tree and then access and distribute them through a script that does the user authentication ... in pseudo-code that would look like this: Check Authentication If !Auth ... send to login Check for proper file request (name/id/whatever) If

RE: [PHP] Safely Storing & Delivering PDFs

2001-11-25 Thread Mark Charette
If you have access to the Apache server why not set up auth-mysql as the authentication method? It checks for authentication login/password pairs out of MySQL. mark C. > -Original Message- > From: Miles Thompson [mailto:[EMAIL PROTECTED]] > Sebastian, > > I believe I have to do what you

[PHP] Safely Storing & Delivering PDFs

2001-11-25 Thread Miles Thompson
Sebastian, I believe I have to do what you do, but from your cryptic msg I've not been able to figure it out. We have a subscription site, and if a subscriber wants a PDF, the link which requests it checks for a session cookie. If it's not set the user is directed to a logon script which chec