Safe Exam Browser quiz access rule

Quiz access rules ::: quizaccess_safeexambrowser
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Luca Bösch
This quiz access rule plugin provides Safe Exam Browser 2.0 integration for Moodle
Latest release:
1107 sites
31 fans
Current versions available: 4

Note! since Moodle 3.9 a better SEB integration is built into the standard Moodle release. You probably don't need this plugin any more.

This quiz access rule was created by Tim Hunt at the Open University. It provides integration for Safe Exam Browser 2.0 or later with Moodle. It can be used with versions 2.7 of Moodle, or later.

If you install this plugin, there is a new option 'Allowed browser exam keys' on the quiz settings form where you can enter valid keys for version of SEB that should be allowed to attempt the quiz. There is also a new capability 'Not required to use Safe Exam Browser'. Users with that capability (by default teachers and above) are exempt from the secure browser check.

Note this plugin is not needed from Moodle 3.9 onwards any more. Its function is embedded in the default quizaccess_seb access rule. Version 'Release 1.4 for Moodle 3.4+ (20200727)' is the final release.


Screenshot #0


Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Luca Bösch: Developer
Please login to view contributors details and/or to contact them

Comments RSS


  • Tim at Lone Pine Koala Sanctuary
    Sat, Sep 3, 2016, 2:35 PM
    Either: change the URL in the SEB configuration to match the URL of your site, or set up a redirect on your server from the http address to the https address.
  • Mon, Nov 21, 2016, 11:25 PM
    Hi Tim,
    Is there any way to disable this plugin for all? I mean even for students too? As you have suggested I tried editing return self:check_keys to "return true" in the check_access function inside rule file, "public static function check_access in mod/quiz/accessrule/safeexambrowser/rule.php". But still I've been showed with the error.
    I also tried disabling that experiment option inside site administration > Development > Experimental > Experimental settings even though its outdated. But still its not working.
    Thank you.
  • Mon, Nov 21, 2016, 11:28 PM
    And I'm using Moodle 3.1 (Missing info to my prev comment).
  • Tim at Lone Pine Koala Sanctuary
    Tue, Nov 22, 2016, 12:30 AM
    You could try editnig the Authenticated user role, and assigning the quizaccess/safeexambrowser:exemptfromcheck capability.
  • Wed, Nov 23, 2016, 11:28 AM
    Hello Tim!

    First of all, I would like to thank you for taking time to develop this solution! I've been trying to set up a quit link so our students can quit SEB after finishing exams. I already entered a link on SEB's Configuration Tool but cannot find where to enter the link in Moodle. Actually, I can't find the way to modify the general feedback page that the students will get back after finishing the exams. I've looked for information on the Web but couldn't find any clue. Could you help me with this please? Is it something that I'm doing wrong?

    Thanks in advance!
  • Tim at Lone Pine Koala Sanctuary
    Wed, Nov 23, 2016, 10:39 PM
    You can put the link where you like. A good place to put it is in the Overall Feedback for the Quiz, since that is shown after the attempt has been completed.
  • Matt
    Fri, Dec 30, 2016, 6:24 AM
    Hi Tim. I just finished setting up a Moodle server for our school running Moodle 3.2. Is there a way to install your plugin in Moodle 3.2. I noticed your plugin is only for up to 3.1. I tried to install it anyway but when I did I received a validation error.
  • Tim at Lone Pine Koala Sanctuary
    Sun, Jan 1, 2017, 8:26 PM
    I am 99% sure that this plugin will work fine with Moodle 3.2. However, I normally only mark it as compatible after I have tested it and confirmed, and I have not had time to do that yet.

    I think you can install it by downloading the Zip, and manually uploading it. If you can try it, and report that it works, then I can mark it as compatible here.
  • Matt
    Mon, Jan 2, 2017, 6:06 AM
    Thanks Tim, I believe that works to install it. We have two versions of SEB, can we enter multiple browser keys for the same test?
  • Tim at Lone Pine Koala Sanctuary
    Mon, Jan 2, 2017, 4:32 PM
    You can enter multiple browser keys. Just write them on separate lines in the input box. Thanks for testing this on 3.2. I have now marked it as compatible.
  • Matt
    Tue, Jan 3, 2017, 2:45 AM
    Thank you for all your help Tim, and thank you for this plugin!
  • Sat, Feb 4, 2017, 3:59 AM
    Thanks for this great plugin. I want to know this plugin only works with SEB 2.0 or can work with current SEB version, that is 2.1.3?
  • Tim at Lone Pine Koala Sanctuary
    Sat, Feb 4, 2017, 4:44 PM
    It should say SEB 2.0 or later. Sadly, it won't let me edit the plugin information unless I also upload a screen-grab, and I don't have time to make a screen grab now.
  • Tue, Feb 7, 2017, 4:49 PM
    I have configured this plugin with Moodle 3.2 and Safe Exam Browser 2.13 on Windows. After enabling the browser access keys the attempt quiz button is enabled only for admin user of Moodle. What are the steps required for enabling it for a user with student role.
  • Tim at Lone Pine Koala Sanctuary
    Tue, Feb 7, 2017, 7:58 PM
    You must have used the wrong access keys.

    Admin always has all permissions, which will include quizaccess/safeexambrowser:exemptfromcheck. Therefore, the settings must be wrong, and no user has the version of SEB that Moodle has been told to look for.
Please login to post comments