IP-Restricted Pages

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Andreas

IP-Restricted Pages

Post by Andreas »

I'd like to protect a specific area (6.1.1 - 6.1.9) of my CMS MS homepage that only user which came from an IP range.

I have tested the module IPRestrictedArea, but at my 0.12.1 Version the result was a nocache error message.
The module is also not the best choice, because one can only choose a specific IP address and not an IP address range.

I need a module which gives access to the protected area only to IP addresses of the following range:
xxx.yyy.zzz.000 - xxx.yyy.zzz.063  +  aaa.bbb.ccc.000 - aaa.bbb.ccc.254

Does anybody know a module which is able to do this ?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: IP-Restricted Pages

Post by calguy1000 »

Try CustomContent

though you will also have to install the feusers module, you won't need to use it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Andreas

Re: IP-Restricted Pages

Post by Andreas »

calguy1000 wrote: Try CustomContent
Thank you for your tip. It works if i have a range from 83.135.128.[0-63].

But how should i modify the template, if i have a range from
83.135.128.0 - 83.135.159.255  and also
81.209.134.[0-63] and also
149.209.134.[0-63] ?
Last edited by Andreas on Thu May 25, 2006 3:28 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: IP-Restricted Pages

Post by calguy1000 »

you should be able to put multiple ip ranges on the tag



all of the tests it appears (probably not tested very well though) can take multiple arguments, the entire test passes if any one of the conditions is true. 
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Andreas

Re: IP-Restricted Pages

Post by Andreas »

Great, i'm also able to create pages which are visible for multiple ranges:

like

But now this results in a new question:
Is the module CustomContent also available for the menu manager ?
I would like to show the menu only if the user is coming from the given IP address range.
Locked

Return to “Modules/Add-Ons”