Detect address range of user, restrict access based on that?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
DMahalko
New Member
New Member
Posts: 8
Joined: Tue May 26, 2009 7:21 am

Detect address range of user, restrict access based on that?

Post by DMahalko »

Is there a way for CMSMS to detect if the client is accessing the page from a specific address range?

We would like to create some "internal" pages which can only be accessed from within our NAT address range (example: net 192.168.1.0, mask 255.255.255.0), and which are denied access for external users outside that range.

Actually the ideal would probably be:
* Allow access without login for all of our local NAT users
* Require login/password for all WAN users


(Our CMSMS is used on Ubuntu with Apache. I know Apache can restrict page access based on the client address range, but I have no idea if this capability extends to CMSMS too.)

- Dale Mahalko
Post Reply

Return to “CMSMS Core”