Protecting a folder
Posted: Thu Sep 01, 2005 4:57 am
Hi people
I have a member service (php session login) where members can prurchase credits and then exchange these for PDF downloads.
All the PDF's are held within a particular folder
In the standard way in order to download/access the pdf a member must be logged in and have sufficient credits else they are forced to error pages.
However if somebody knew the address to where the PDF's are kept they would have complete access to these products without ever having registered or purchased credits...which obviously is a bit of a problem to the business!!
I was hoping whether any of you knew any good techniques and methods to protect this folder from "intruders" while linking in with my current PHP login and credit scripts???
Thanks in advance, this would be a life saver!!!
alex
I have a member service (php session login) where members can prurchase credits and then exchange these for PDF downloads.
All the PDF's are held within a particular folder
In the standard way in order to download/access the pdf a member must be logged in and have sufficient credits else they are forced to error pages.
However if somebody knew the address to where the PDF's are kept they would have complete access to these products without ever having registered or purchased credits...which obviously is a bit of a problem to the business!!
I was hoping whether any of you knew any good techniques and methods to protect this folder from "intruders" while linking in with my current PHP login and credit scripts???
Thanks in advance, this would be a life saver!!!
alex