I've written some code which allows a user to browse a directory and
any subdirectories it contains. The page which contains this can only
be browsed by users with a certain cookie (the page checks for this
before allowing access).
To stop files being downloaded through a link to them on a server
(potentially allowing unauthorized people access) I've put the
directory containing the files outside of the web root.
This all works fine, but i'm unsure how to go about offering the files
for download to people logged in.
I know there mgiht be easier ways of doing this, but i've been told
that there should be no login page, as the users of this file browser
will be linked to it from different VLEs - so a cookie solution was
chosen as it will be seemless.
Any help or advice on how to go about this would be appreciated.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************************************************
Think Outside the Box!
*************************************************
"^MisterJingo^" <miste...@gmail.com> wrote in message
news:1154194076.6...@m79g2000cwm.googlegroups.com...