Welcome Guest, Not a member yet? Register   Sign In
Restrict access to profile editing?
#6

[eluser]bigtony[/eluser]
[quote author="Braden Schaeffer" date="1251155965"]I have looked into the _remap function a little bit, but I am not sure how calling my validate function at each access point is not the same thing. Is that a security issue?[/quote]
It's fine to call it at each access point. The only issue is it can be easy to forget, especially if you add new functions to the controller later on. _remap just lets you route all calls through one function, where you can dispatch as appropriate. No need to change the way you are doing it though.


Messages In This Thread
Restrict access to profile editing? - by El Forum - 08-20-2009, 02:38 PM
Restrict access to profile editing? - by El Forum - 08-21-2009, 02:59 AM
Restrict access to profile editing? - by El Forum - 08-21-2009, 08:56 AM
Restrict access to profile editing? - by El Forum - 08-22-2009, 12:58 AM
Restrict access to profile editing? - by El Forum - 08-24-2009, 12:19 PM
Restrict access to profile editing? - by El Forum - 08-25-2009, 12:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB