Quiz access rules: Safe Exam Browser quiz access rule

Maintained by Tim at Lone Pine Koala Sanctuary Tim Hunt
This quiz access rule plugin provides Safe Exam Browser 2.0 integration for Moodle.
489 sites
23 fans

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.


Screenshot #0


Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Tim at Lone Pine Koala Sanctuary
    Mon, 2 Jan 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, 3 Jan 2017, 2:45 AM
    Thank you for all your help Tim, and thank you for this plugin!
  • Picture of Yaoning Tao
    Sat, 4 Feb 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, 4 Feb 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.
  • Picture of Rajiv Rajaian
    Tue, 7 Feb 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, 7 Feb 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.
  • Picture of Jason Touw
    Wed, 8 Feb 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, 8 Feb 2017, 8:48 PM
  • Paul
    Wed, 20 Sep 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, 7 Oct 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, 9 Oct 2017, 5:35 PM
    It almost certainly works. Someone just needs to test it.
  • Picture of Blair F.
    Wed, 6 Dec 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.
  • Picture of Oliver Jackson
    Thu, 10 May 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, 10 May 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.
  • Picture of Oliver Jackson
    Fri, 11 May 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.
1 2 3 4
Please login to post comments