This git repository contains the code for the labs in 6.S060.
In these labs, you will add a series of security features to a photo-sharing application.
These labs depend on Python 3.9. You can verify that your Python version is correct by checking
$ python3 --version 3.9.x
where “x” is any number.
To run tests for these lab, run
make test, which will run Python doctests. They should all pass.
Note that these tests are different from the tests used by the autograder, which will be used to grade your assignments.
The photo-sharing application supports a (very rudimentary) web application interface written in Flask. To use the interface, run
You can find all the code required for each lab inside of its directory. For instance, the code for lab0 resides in
You can find the tasks for the corresponding assignment by looking at the Markdown file associated with the lab number. The following files contain descriptions of the tasks for each lab:
We’d be happy to accept any contributions. Feel free to issue a PR on GitHub and we’ll take a look. If we merge it, let us know if you’d like attribution.