Here is what I am trying to achieve. I have two roles Teachers and Students.
Each teacher has images of answers written by the students in an exam. After checking these papers, teacher takes an image of each answer-sheet. He names it in a certain pattern using student-id. Thus, teacher has many images (like sid-1-im1.jpg, sid-1-im2.jpg, sid-2-im1.jpg). A student can have multiple images on his name depending on how many sheets he had submitted.
I want to create a website where a teacher can create a folder for this exam, say, Economics-2017-2018. Within this folder, he can upload all images. What would be the best way to achive this folder+multi-file upload?
Next I want to programmatically assign permissions to these uploaded images based on student id of the file name. So that, a student can view only his files.
How can this programmatic feature be achieved.
There are more features such as notifying students, ability to comment on files etc. But, I think drupal can handle them easily.
I intend to use Drupal 7 or 8 for the purpose.