Your Moodle version

Authentication: Authentication by IP

auth_ip
Maintained by Picture of Jordi Pujol-Ahulló Jordi Pujol-Ahulló, Picture of Robert Boloc Robert Boloc
This authentication plugin helps to manage manual accounts being accessed only by the list of restricted IPs.
63
29
2

Authentication plugin restricted by IP

This authentication plugin helps to manage manual accounts being accessed only by the list of restricted IPs.

Installation

Install it as usual:

  • Download it (via zip or git) into MOODLE/auth/ip
  • Log in into Moodle
  • Go to "Notifications"
  • Set up the list of IPs enabled to access to your Moodle.
  • Save changes.
  • Go to Administration->Plugins->Authentication->Manage plugins
  • Enable plugin "Authentication by IP".

Usage

Setting this authentication type to a user:

  • Go to a user profile.
  • Set the authentication type "Authentication by IP"

Updating the list of restricted IPs:

  • Go to Administration->Plugins->Authentication->Manage plugins
  • Update the list of IPs

NOTE: After updating the list of IPs, an email will be sent to the administrator email, just for security.

License

It is released as GPL v3.

Authors:

Copyright 2013 onwards Servei de Recursos Educatius (http://www.sre.urv.cat)

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6
Screenshot #7
Screenshot #8
Screenshot #9

Contributors

Picture of Jordi Pujol-Ahulló
Jordi Pujol-Ahulló (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Tue, Dec 3, 2013, 2:47 PM
    Thanks for sharing this here.
    Do consider adding moodle 2.6 to list of moodle versions supported.
  • Picture of Jordi Pujol-Ahulló
    Tue, Dec 3, 2013, 7:04 PM
    Yes. I point it out. I'll check it asap. Thank you very much!!!
  • Picture of Jordi Pujol-Ahulló
    Wed, Dec 4, 2013, 6:36 AM
    Checked and it works ok on M2.6+
  • Picture of Praj Basnet
    Wed, Jul 22, 2015, 8:01 AM
    Can you restrict an ip address by ip range e.g. using CIDR notation like 192.168.1.1/24 ?
  • Picture of Jordi Pujol-Ahulló
    Wed, Jul 22, 2015, 5:01 PM
    Hi, No. It does not support subnetting. You can contribute with this via a pull request on the github repo, if you're so kind.
  • Picture of Jordi Pujol-Ahulló
    Thu, Feb 18, 2016, 7:09 PM
    +Robert Boloc added support for subnetting. In addition, it also works on M3.0.*
  • Picture of Leslie Foster
    Thu, Jul 28, 2016, 5:24 PM
    I have a question if I may?

    If I want to have it such that users can login using a password, but only if they are on a certain IP address, then this plugin can do that? i.e. the password authentication and the IP authentication can be stacked?

    Thanks

    Les
Please login to post comments