Welcome Guest, Not a member yet? Register   Sign In
users bypassing IP ban
#1

I store in the DB a list of "bad" IPs, and in my controller for the sign up page I redirect users whose IP is found in the list of bad IPs using this code:

Code:
redirect(base_url('xxx'));

But a user was able to bypass it and register with a blocked IP. How is this possible? Even if the HTTP redirect could somehow be ignored, the "redirect" function terminates script execution (as explained here)

I'm using CI 3.0.4 is that helps.
Reply


Messages In This Thread
users bypassing IP ban - by ronaldv - 12-06-2016, 01:01 PM
RE: users bypassing IP ban - by Narf - 12-06-2016, 02:57 PM
RE: users bypassing IP ban - by ronaldv - 12-07-2016, 01:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB