I'm trying to use drupal for building an intra/extranet.
What we would like to do is to allow read access to some items for any host inside our local network without authentication, while the same informations should be available from outside with identification.
Several networks could be identified as local.
And as a really nice feature several access-levels depending on ip... we are in a university, and we could allow some information to other institute in the university and not all of the internet.
Maybe as a specific access module, or maybe by assigning a specific role : localaccess
Comments
Comment #1
sugiggs commentedUp...
i want to know the answer also
Comment #2
joachim commentedsubscribing.
I'd like the exact same thing -- authenticated access outside the building, free access from a particular IP.
Comment #3
goudal commentedWell I have finally a written a kind of module doing that.
Maybe I can send the code so you can test.
Comment #4
goudal commentedWell... I have written a module (maybe not so well designed)... I can send the code.
Comment #5
shopgirl_11 commentedHi,
I need this kind of module as well... If anyone can help, i'd really appreciate it!
thanks,
Bianca
Comment #6
joachim commentedThe ipAuthenticator (http://drupal.org/project/ipAuthenticator) module does this. I've run it on a site with a few initial hiccups (possibly due to caching) but now it works fine.
Should we close this issue as the feature is available in a contrib module?
Comment #7
shopgirl_11 commentedHi there,
I was trying to use this module but when i tried to key in an IP address, this is what i get:
user warning: Out of range value adjusted for column 'ip1' at row 1 query: INSERT INTO ip_authenticator (ip1, ip2, roles) VALUES ('-1062729495','','1') in C:\inetpub\Drupal\sites\all\modules\ipAuthenticator\ipAuthenticator\ip_authenticator.admin.inc on line 117
Not sure what caused this but if you have an idea, please help.
Thank you for your immediate response Joachim, appreciate it.
Comment #8
joachim commentedFile a bug in that module's issue queue... :)
Comment #9
dpearcefl commentedClosing this issue because a solution in the form of a contrib module was provided.