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.
524 sites
25 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
  • 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.
  • Picture of Nitin Jain
    Fri, 24 Aug 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, 24 Aug 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.
  • Picture of Nitin Jain
    Mon, 27 Aug 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?
  • Picture of Nitin Jain
    Tue, 28 Aug 2018, 9:09 PM
    Please advise
  • Picture of Nitin Jain
    Fri, 31 Aug 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, 4 Sep 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.
  • Picture of Carlos Lopez
    Tue, 4 Sep 2018, 2:36 AM
    My institution would like to protect a little more the content like the review after the exam because the students sometimes copy the information to other students in the review. Is there any way to force the use of the browser in the entire site with moodle?
  • Tim at Lone Pine Koala Sanctuary
    Wed, 5 Sep 2018, 12:15 AM
    Carlos, that would require custom coding. If your site uses a custom theme, then putting this sort of protection code in the theme is a good way to do something that affects every page without changing core code. It should be possible to just call the the functions in this plugin to check for SEB, which should minimise the amount of code that you need to write.
  • Picture of Joseph Liaw
    Tue, 25 Sep 2018, 9:35 AM
    +1 to Carlos' request to require Safe Exam Browser to Review quiz attempts--is there a way to modify the SEB quiz access rule to also check for the SEB for quiz attempt reviews?

    Any hints on what code would need to be modified or would it be possible to extend this plugin to also include checking for SEB for quiz attempt reviews?

    Also wanted to provide positive feedback that the SEB access rule works flawlessly with Moodle and has been a HUGE boost for our teachers to try electronic quizzing and allow students to retake quizzes for mastery and learn from mistakes since quizzes can now be delivered securely...thank you for sharing your great work with the Moodle community!
1 2 3 4

Commenting temporarily disabled