Quiz access rules: Safe Exam Browser quiz access rule

Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Picture of Luca BöschLuca Bösch
This quiz access rule plugin provides Safe Exam Browser 2.0 integration for Moodle.
688 sites
27 fans
Current versions available: 4

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)
Picture of Luca Bösch
Luca Bösch: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Oliver Jackson
    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.
  • Picture of Oliver Jackson
    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.
  • Picture of Nitin Jain
    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.
  • Picture of Nitin Jain
    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?
  • Picture of Nitin Jain
    Tue, Aug 28, 2018, 9:09 PM
    Please advise
  • Picture of Nitin Jain
    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.
  • Picture of Carlos Lopez
    Tue, Sep 4, 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, Sep 5, 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, Sep 25, 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!
  • Picture of Heikki Wilenius
    Mon, Aug 12, 2019, 4:34 PM
    Any plans to support Safe Exam Browser's new Config Key feature? That would remove the hassle of updating Browser Exam Keys.
  • Tim at Lone Pine Koala Sanctuary
    Mon, Aug 12, 2019, 6:01 PM
    I don't have plans like that. I assume that the makers of SEB are planning to implement something.
  • Picture of Heikki Wilenius
    Mon, Aug 12, 2019, 6:33 PM
    Thanks for the quick reply. Ok, I'll ask the SEB devs then.
1 2 3 4 5
Please login to post comments