Welcome Guest, Not a member yet? Register   Sign In
Best practices for implementing a trust filter
#5

[eluser]CroNiX[/eluser]
This would make an excellent library.

You can have methods to add ips, add restricted controller/method names, check database, check the requested controller (name) or method, whatever....before the controller even gets processed.

One problem with doing this in codeigniter.php is that you don't have access to databases, config, or much of anything yet, so it wouldn't be very dynamic.


Messages In This Thread
Best practices for implementing a trust filter - by El Forum - 01-25-2012, 11:06 AM
Best practices for implementing a trust filter - by El Forum - 01-25-2012, 01:33 PM
Best practices for implementing a trust filter - by El Forum - 01-25-2012, 03:50 PM
Best practices for implementing a trust filter - by El Forum - 01-25-2012, 04:08 PM
Best practices for implementing a trust filter - by El Forum - 01-25-2012, 04:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB