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


  • Wed, Feb 8, 2017, 11:38 AM
    Hi Tim,

    I have tried to figure out how I am supposed to be configuring this plug in but can't seem to get it. So I am running Moodle 3.1.1+ with SEB 2.13 on Windows. I get that in the QUIZ module I need to enter the SEB key. So, I figure I first need to configure SEB, so I start the Config tool, set the startup website to URL, and then under the Exam Tab, I find the Key Code and copy that to the Quiz Module. I save the settings in both SEB and Moodle's Quiz Module.

    Now, students are logging into the school network, each with their own profiles that follow them to any computer they log on to. When they login the first time at any given workstation, they must configure the SEB to my Moodle site. I instruct them to do so. Now the Problem is... when they open SEB under their login profile, it is a different allowed Key in SEB for every single user. So, when they go to attempt the quiz, the keys don't match because I only have my key in the quiz module. The Network is running Windows 7 Enterprise.

    What am I missing here? Any help is greatly appreciated!!
  • Tim at Lone Pine Koala Sanctuary
    Wed, Feb 8, 2017, 8:48 PM
  • Paul
    Wed, Sep 20, 2017, 2:49 PM
    Is anyone doing something about Moodle 3.3? It would be great if the plugin worked for that too.
  • Paul
    Sat, Oct 7, 2017, 12:00 AM
    Hi Guys, I was still wondering if SEB is Moodle 3.3 ready? Anyone got any feedback on that?
  • Tim at Lone Pine Koala Sanctuary
    Mon, Oct 9, 2017, 5:35 PM
    It almost certainly works. Someone just needs to test it.
  • Wed, Dec 6, 2017, 4:12 AM
    SEB is totally new to me, and I'm just learning my way around it, but I am finding that the help text, "If no keys are entered, then SEB is not required for this quiz," isn't true in my 3.2 test environments. Instead, I'm finding that if no browser exam key is entered, the SEB is *still required,* but the Browser Exam Key is not required. This is actually the behaviour that I was hoping for, so I'm quite pleased with this, but this has me a bit confused that I'm missing something.

    Tim, once I feel I have a good grasp of all of this, I will test it in 3.4.
  • Thu, May 10, 2018, 3:50 PM
    I have this running nicely with Moodle 3.4 with one issue.

    It does a perfect job of removing all site navigation other than that needed during the quiz attempt.
    BUT: When it initially hits the Moodle quiz landing page (the one with the button to "attempt quiz now") all of the normal Moodle navigation items are still available on the page.
    The user menu, the bootstrap custom menu, the previous and next activity links at the bottom of the page, the Boost theme nav drawer, everything.
    This allows students to navigate off around the site prior to starting the exam to access content which they can copy and then later paste into a quiz answer if desired.

    I've tested it with Boost, More and Clean themes and it is the same on all.

    Because the SafeExamBrowser apends SEB to the useragent string I've managed to use some javascript to detect this and then hide all the navigation stuff with CSS but it would be much better if it was done by default.

    Is there a simple way which I've overlooked or should I file a bug report?
  • Tim at Lone Pine Koala Sanctuary
    Thu, May 10, 2018, 9:46 PM
    Hiding the navigation is not specifically a feature of this plugin. It is Moodle policy that the protection does not start until after 'Start attempt' is clicked.
  • Fri, May 11, 2018, 7:36 AM
    Thanks Tim for the super prompt response.
    I'll be completely happy with my use of the cssua javascript and some CSS.
  • Fri, Aug 24, 2018, 2:04 PM
    This looks a great plugin. I was wondering if the latest version of plugin (1.3 for Moodle 3.4+ (2018080900)Moodle 3.4, 3.5) is applicable for Moodle3.1 ? OR it is only for 3.4 and 3.5 ?

  • Tim at Lone Pine Koala Sanctuary
    Fri, Aug 24, 2018, 2:36 PM
    There are no significant changes in the latest version. If you are using Moodle 3.1, use the version of the plugin that is compatible with that, you won't be missing anything.

    The latest versoin only works with Moodle 3.4+ because it contains the code to integrate with the new Privacy API, and that only works with PHP 7.1.
  • Mon, Aug 27, 2018, 12:57 PM
    @tim thanks for the quick response.. So should i use 1.2 or 1.1 ?

    1.1 seems pretty old.. while 1.2 says moodle3.2.

    i hope 1.2 should work for Moodle 3.1.1 as well?
  • Tue, Aug 28, 2018, 9:09 PM
    Please advise
  • Fri, Aug 31, 2018, 3:45 PM
    @tim hunt,

    I will be grateful, if you may please respond to my last question?
  • Tim at Lone Pine Koala Sanctuary
    Tue, Sep 4, 2018, 12:48 AM
    You should use the compatible version (1.1). There has been no significant change in the functionality here for year. This is a simple plugin that just does one thing. The only changes have been for Moodle version compatibility.
Please login to post comments