autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
766 stars 220 forks source link

Password protected handout/assessment downloads #766

Open nayak16 opened 7 years ago

nayak16 commented 7 years ago

We want to password protect handout downloads with a unique password for each user based on their email. V2 will be custom password generators so instructors can specify how to match and verify passwords.

Suggested by Seth Goldstein (213 professor at CMU)

zyx-billy commented 7 years ago

I wonder if this could be done with custom listOptions for an assessment. There doesn't seem to be any documentation on it, but 213 bomblab uses listOptions to display a custom 'Download your bomb' option on the sidebar of an assessment. It seems at the very least, it could support any custom link. We can easily make it more powerful by sending the username in the query params, and/or asking the user for a passphrase and sending that along with the request as well. This way, the instructor can setup a simple server somewhere else that does whatever they want.