Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Writing a perl based 'Homework' Server.

by vbrtrmn (Pilgrim)
on Apr 18, 2003 at 12:13 UTC ( [id://251438]=note: print w/replies, xml ) Need Help??


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 (Archbishop) 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. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251438]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-20 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found