I think I have more or less got to grips with basic session management,
but I have a problem protecting a whole directory.
I am making a website with a members area. I have used some basic
session management to create a login page and then use the session to
control access to other pages.
I need to have a directory within the members area where the
organisation will upload files such as minutes of meetings, agendas,
etc. etc.. I want to be able to list the files in this directory on a
members only page, which I can do with opendir() readdir() etc. and some
formating to put links around the filenames.
My question is. How do I protect the files in that directory from being
accessed by somebody who knows the full path and file name?
Thanks
Chris
The site in question is http://www.rba.org.fk