[eluser]sjmiller85[/eluser]
A while back on a project since gone and over with I recall being able to restrict access to specific functions within my controller. For instance, I would create callback functions for form validation. Obviously, these functions serve no other purpose than to be called during the form validation, so having users type in the url to the function (ie base_url/controller/callback_function) is not needed and if at all possible, I'd like to prevent this.
I seem to remember being able to add an access modifier to the function to prevent direct access to those functions, but I cannot seem to replicate this. Can someone please enlighten me on the best practices of preventing direct browser access to specific functions?