protect access to documents in a directory
Posted: Tue Oct 02, 2007 2:48 pm
Users can currently access word and excel documents in a directory on the server open to the net.
Users can log in and view a page generated with php containing href's that point to specific documents that they should be using. This page is generated based on their territory and products group sold. This program is protected by username & password which is validated by an entry in an mySQL table.
However, users have discovered that they can bookmark the documents individually and return to then directly.
Management wants to avoid this bookmarking. They want users to either download documents or go through program each time.
I don't want to add a second layer of login/password to access specific directory or files. What are possible strategies here?
Is is possible to lock down the directory except when accessed through the php program?
I hope I am making myself clear.
Users can log in and view a page generated with php containing href's that point to specific documents that they should be using. This page is generated based on their territory and products group sold. This program is protected by username & password which is validated by an entry in an mySQL table.
However, users have discovered that they can bookmark the documents individually and return to then directly.
Management wants to avoid this bookmarking. They want users to either download documents or go through program each time.
I don't want to add a second layer of login/password to access specific directory or files. What are possible strategies here?
Is is possible to lock down the directory except when accessed through the php program?
I hope I am making myself clear.