grudz
02-12-2006, 08:56 PM
Hi,
Before posting this question, I browsed around google and forums, but couldn't seem to find what I was looking for, mostly because I didnt know how to search for it.
Basically I have a site where ppl will login to download some .pdf. Very simple, but my problem is how to make sure its secure.
lets say the files to download are in files/ folder, how to i make sure nobody can just put in their address bar www.site.com/files and download it without becoming a member?
My first thought was to use htaccess, but I am using PHP/MySQL, and I want to implement a system with that. Can anybody help me?
Thank you
Before posting this question, I browsed around google and forums, but couldn't seem to find what I was looking for, mostly because I didnt know how to search for it.
Basically I have a site where ppl will login to download some .pdf. Very simple, but my problem is how to make sure its secure.
lets say the files to download are in files/ folder, how to i make sure nobody can just put in their address bar www.site.com/files and download it without becoming a member?
My first thought was to use htaccess, but I am using PHP/MySQL, and I want to implement a system with that. Can anybody help me?
Thank you