Detecting cheating: do two workbooks have the same origin?


Posted by Heath David on August 01, 2001 11:53 AM

I teach a course in Business Calculus at Virginia Tech for which students use Excel to complete assignments. A few times each semester, I run into a pair of way-too-similar labs that looks like one person copied another person's Excel file, made a few cosmetic changes, and resaved the file under his own name.

In the File Properties, the Creation date and time are usually identical for the two files. Are there other concrete, telltale signs I can look for to determine if two student submissions were once the same workbook?

Thanks in advance,
Heath

Posted by Mark W. on August 01, 2001 12:20 PM

I'm fairly certain that Microsoft can! I vaguely
remember a recent case were a hacker was caught
because a Word document was traced back to him.

Posted by Mark W. on August 01, 2001 12:25 PM

Have you considered...

Distributing workbooks with a hidden serialization
under the guise that they're offical class templates.

But I'm still not clear how you'd guard against
Copy/Paste.

Posted by Damon Ostrander on August 01, 2001 1:44 PM

Here's a suggested solution. Microsoft applications have a UserName property that most people type their name into the first time they open and Office product. In VBA you can access it as

Application.UserName

I suggest you write this username to a cell on a hidden worksheet (and I recommend you make it xlVeryHidden so it doesn't show up in the VBE project pane). Do this in the Workbook_Open event, and if the cell already has a name in it, write the username to the next cell. That way, when you get the workbook you can look at the hidden sheet and see a list of the names of every user that has opened the workbook.

You can guard against users failing to register their username by forcing them to enter their name if the username field is empty.

You could also make this a little more foolproof by prompting each student for a unique student ID instead of checking the application username. Your code would then write this ID to the hidden sheet. This is a little more secure because, presumably, students do not know each other's IDs.

Damon

PS. Don't forget to password protect your VBA code.

Posted by Aladin Akyurek on August 01, 2001 1:55 PM

Damon -- It seems it's always "Admin" at my school. Default set up I guess.

Aladin

Posted by Damon Ostrander on August 02, 2001 9:25 AM

Hi Aladin,

Yes, you're right. I think a default name will be the case for most school and corporate installations. Using the UserName will probably only work if the students are using their personal computers for the work. In the case of a default UserName, prompting for a student ID or a password unique to each student will be necessary.

Damon



Posted by Heath David on August 07, 2001 1:00 AM

Could you somebody tell me, how to bring information about document properties to the sheet (name of the document, author, directory, etc.). I know where to find it (File/Properties). In MS Word it is possible to use the function Inset field (Insert/field…). But there is no such a function in MS Excel. I know this problem can be solved by using a macro instruction, but the document I am working on must be “macroless” (without any macros). Is there any way, how to do it?
Thank you very much.
Tomas