uploading to ftp site for students and the like
Alan Jackson
ajackson
Mon May 17 11:56:51 PDT 2004
On Wed, 10 Dec 2003 07:16:02 -0500
John Voigt <jvoigt at reclamation.dnr.state.in.us> wrote:
> On 12/09/2003 10:26 PM, Joel Hammer wrote:
>
> > Just some ramblings.
> >
> > I have seen from time to time people asking how they can set up an
> > ftp site so students and their ilk can upload homework but others
> > can't see it or erase it or whatever.
> >
Back in the dark ages when I use AOL, I recall that my personal space
had a directory for anonymous ftp. Anyone could put stuff in it, but
only I could log on and erase it. And no one could read it either.
A write-only directory?
Seems like you could do it with a little CGI script that did file uploads,
and password protect the directory. That would also allow you to handle
other issues (what if everyone named their file "homework_1"?, who
did it come from? etc). You could trap the originating IP address, and
other info, give the file a unique name, and what ever else you want
in a cgi script.
--
-----------------------------------------------------------------------
| Alan K. Jackson | To see a World in a Grain of Sand |
| alan at ajackson.org | And a Heaven in a Wild Flower, |
| www.ajackson.org | Hold Infinity in the palm of your hand |
| Houston, Texas | And Eternity in an hour. - Blake |
-----------------------------------------------------------------------
More information about the Linux-users
mailing list