Welcome Guest, Not a member yet? Register   Sign In
Best way to handle authentication with MY_Controller ?
#11

[eluser]wiredesignz[/eluser]
Autoloading a library to check an access control list would function perfectly well. Using hooks is overkill for such a simple process.

@OP, You might like to take a look at the ACL link in my signature to get some ideas.
#12

[eluser]benoa[/eluser]
@everyone : thank you so much for participating in this conversation. I wasn't expecting this much attention. This was very helpful to me as I'm building my first CI project.

I think I'm going to use n0xie's white listing approach because it fits my project's needs. Hooks don't make me feel comfortable. Although I'm thinking about using them for pseudo CRON jobs in the near future.

Thank you again. Part of why I love CI is because of its smart and active community.

Have a nice sunday Smile




Theme © iAndrew 2016 - Forum software by © MyBB