Welcome Guest, Not a member yet? Register   Sign In
Privatizing Form Validation callback functions?
#3

[eluser]onejaguar[/eluser]
You can put your callbacks in an extend validation library (My_validation). They can be used by any controller that loads the validation library but can't be accessed via URL.

Or you can just leave it as-is. I don’t think it is a serious security risk; you should always assume people can put horrible things into a POST requests and you should write your callbacks accordingly; and a callback called directly will either return nothing or an error message about un-found objects, AND a person would have to know the name of your callback…


Messages In This Thread
Privatizing Form Validation callback functions? - by El Forum - 09-27-2008, 12:55 AM
Privatizing Form Validation callback functions? - by El Forum - 09-27-2008, 02:25 AM
Privatizing Form Validation callback functions? - by El Forum - 09-27-2008, 05:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB