stopping un-authorized downloads
Posted: Fri Sep 02, 2005 5:03 am
Hi - I am building a site where users have to have a login account in order to view and download a variety of (PDF) files.
The login system is a simple database/session system with an include on every page to make sure the user is allowed to be on the page.
My question is: Is there a way of preventing non-logged in visitors from using a link (to a document) to download a file.
Obviously I will have directory browsing turned off, but if a registered user sends them the URL of a file....
Any ideas?
The login system is a simple database/session system with an include on every page to make sure the user is allowed to be on the page.
My question is: Is there a way of preventing non-logged in visitors from using a link (to a document) to download a file.
Obviously I will have directory browsing turned off, but if a registered user sends them the URL of a file....
Any ideas?