Secure a folder with sessions - PHP/MySQL
I have a member site that I hav erecently developed a download library for. All the downloads (Word docs or PDFs) are stored in one directory and the user must be logged in using a session based system to gain access to the download page (in the directiry above) which contains all the links to the documents.
So non members can't access the downloads page but I'm guesssing that pretty soon each of the PDFs and Word docs will be picked up by google and non-members will be able to open or download them directly.
Is there a way that I can secure access to the contents of the download folder using sessions?
Or if not any other solution?
Cheers
Dave
