|
Posted by Tobias Wendorff on 09/30/06 13:14
Hi there,
I've programmed an access-control via header()-function. It
checks an username and password in database ... nothing special.
Currently, the control gives access to a download, but I would
like to allow special users to view the complete directory.
AFAIK this is only possibly through ".htaccess" (Apache webserver).
But then, I need to create an entry for each user in the database
in the file :-(
Would it be possible to allow this direclty through PHP?
Of course, I could write dynamically into htaccess, but if
several users would access the file at the same time ... URGHS :-)
Thanks for help,
Tobias
[Back to original message]
|