in reply to Writing a perl based 'Homework' Server.

dang, i'd skip all the client server stuff. Just run a simple web page on Apache (as TGI suggested), using a simple upload script ... with Apache you can use the .htaccess files for authentication.

Upload script thread:
Using htaccess & htpasswd for password protection

A couple modules for .htaccess you may want to check out:
Apache::Htpasswd
Apache::Htgroup

--
paul

  • Comment on Re: Writing a perl based 'Homework' Server.

Replies are listed 'Best First'.
Re: Re: Writing a perl based 'Homework' Server.
by zentara (Cardinal) on Apr 18, 2003 at 15:46 UTC
    I agree with using "htaccess and cgi". That's the easiest way. When the student uploads the file, have the cgi script scan it for a student number and file it in the appropriate directory. htaccess is easy to get working, and there are numerous ways to upload files to a cgi script using lwp. Just talk your professor into setting up a "password protected homepage" for each class. Just make sure that the "storage directory for uploaded homework" isn't accesible by a browser, or you could get rampant copying. :-)