One user from each IP or computer

Re: One user from each IP or computer

by Michael Milette -
Number of replies: 3
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
The challenge you are going to face is that it is quite common for multiple people to share an Internet connection such as a business, home router, school, library, community centre. From Moodle's perspective, they are all connected from the same public IP address. Blocking users based on their private (local network) IP address does not make sense either. There are many routers who start allocating IP addresses starting with 192.168.1.100. You would end up inadvertently blocking legitimate users from accessing your Moodle site.

That said, with some custom programming, you might be able to detect multiple logins from the same computer by detecting their MAC address. In theory, these addresses are supposed to be unique across the world through it is possible to fake even this through software - a virtual machine for example.

I think the only possible option would facial or fingerprint recognition. Of course this wod require custom programming too however a cheap version of this might be to have users share their webcam and their screen with the teacher who would monitor activity in real time. Of course this is only feasible if you have a few students at a time or a lot of assistant teachers to do the monitoring.

Another option might be to make use of Proctors with AI to do the monitoring. I was just looking into it this last week for a client. Very interesting technology. This commercial technology actually exists today and several even have integrations for Moodle. Many of them guaranty no possible cheating.

Might be a problem for students without webcams though. Licensing is not cheap but it might be worth it to you depending on your circumstances.

Hope you find something helpful in all of this.

Best regards,

Michael Milette
Average of ratings: Useful (1)
In reply to Michael Milette

Re: One user from each IP or computer

by MIGUEL TORRES VARGAS -

Hi Michael, I am currently trying to integrate the face-api.js library (used for facial recognition) with moodle, I am a student and I am new to development, I have basic programming knowledge, I have been thinking is to create a quiz access to validate through the student's camera if it is him or not. Maybe I'm wrong, but could the puglin be made like I'm thinking?

In reply to MIGUEL TORRES VARGAS

Re: One user from each IP or computer

by Benjamin Ellis -
Picture of Particularly helpful Moodlers

If you are new to Moodle development, you should try and get some knowledge and apart from the development pages here on moodle.org, there a couple of development books – see https://moodle.org/books including my book ‘Introduction to Moodle 3.9+ Plugin Development‘ (https://books2read.com/m39plugindevelopment) and a number of courses -Moodle Plugin Development Basics (https://moodle.com/news/learn-moodle-plugin-development/) (free), the MoodleBites for Developers Level 1 – expensive – (https://www.moodlebites.com/mod/page/view.php?id=24546) and a few short specific ones on Udemy (https://www.udemy.com/courses/search/?src=ukw&q=moodle+development).  Then you should be able to determine if and what type of plugin you need to develop.


In reply to MIGUEL TORRES VARGAS

Re: One user from each IP or computer

by Michael Milette -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Miguel,

You might consider checking to see how the Quiz password feature works. This feature is found when editing the settings on a quiz, under the section called Extra Restrictions on Attempts. If you can add or replace the password feature with your facial recognition, it might produce the results you are looking for.

HOWEVER, what would prevent the student from completing the facial recognition and then letting someone take the quiz instead of them.

You might want to google the words:

moodle proctor

There are several companies who claim that their proctor software can prevent cheating.

Personally, I have my doubts that any system can be overcome short of having the student right in front of you and not taking your eyes off them for a second.

Best regards,

Michael