Welcome Guest, Not a member yet? Register   Sign In
which is the propper way implementing authentication?
#1

[eluser]Juan Ignacio Borda[/eluser]
Hi i'm wondering which is the right way for an authentication and authorization layer.
Do i have to make as a model or as a library? wich is best?
#2

[eluser]Zack Kitzmiller[/eluser]
Just make sure it's secure.

All joking aside, you're going to need a Model to deal with the data, a library to handle/deal with that data, at least one controller to handler the user interaction with the model and the library, and a couple helper functions for formatting output.

Take a look at benedmunds delicious ION Auth for some ideas.. Or just use that, and be done with it.




Theme © iAndrew 2016 - Forum software by © MyBB