CodeIgniter Forums
How do I restrict access by IP address - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How do I restrict access by IP address (/showthread.php?tid=45923)



How do I restrict access by IP address - El Forum - 10-11-2011

[eluser]Leonel Folmer[/eluser]
Hello, I'm start to build a small Intranet so, how do I restrict access by IP address? is that possible? or maybe other way to do this?

Ex: If xxx.xxx.xxx.xxx Ip address is allowed in my database, grant access. else deny.

The system will be installed in a server main office, others branch offices also have access to the intranet.

To access the intranet:
All IPs allowed have access directly to the front-end, if a IP is deny, the sistem ask for a login and password to access the front-end.

I dont know if is clear enough.