Relative Content

Tag Archive for encryptionhashanti-cheat

Add a unique identifier inside a plain text file to prevent sharing

This is more of a logic question than a programming question, but it is programming related. I have created some online tutorials for my students. The students download HTML, CSS and JavaScript files from the site, edit them based on the instructions given in the tutorial, and then re-upload them for grading. Because the instructions are all the same, the files created by each student will basically be the same. I am worried that students will share their files with each other and some students will upload files created by other students. Because they are uploading plain text files (.html, .css, and .js files), I am looking for a way to add a unique identifier to each file that is tied to a specific student. That way if the identifier doesn’t match, I will know they have gotten the file from another student.