Loading...
 
Features / Usability

Features / Usability


set permissions according to ip-address

posts: 1

Hi,
I want my Tiki to be accessible from my internal network and from the internet, but some parts should only be available to the internal network, regardless of the user/group permissions. Actually I don't even want the login-module to appear to "external" viewers.
Is this possible? If not, then what changes would it take?
thanks, Adriaan

posts: 2881 United Kingdom

Hiya

Add some if statements in the code to check the IP address ranges.

The IP of a browser can be got from the global php variables without fuss. Look at a phpinfo; for all the other goodies you can check with too.

http://www.php.net will come in handy

Damian