I'm using CodeIgniter to create a web system and so the user does not refresh the page by missing it already I use all ajax calls inside "modules". The problem is that if I put a function in a controller as public the user can kick the URL and access the function without permission and if I use the functions as private, I can not access them through Ajax calls. >
Does anyone have a good solution there?